src/Configuration.h
branchv_0
changeset 1 291bdd97fcff
parent 0 e8205d9206fb
child 2 1eef3d465863
equal deleted inserted replaced
0:e8205d9206fb 1:291bdd97fcff
    24 
    24 
    25 namespace relpipe {
    25 namespace relpipe {
    26 namespace in {
    26 namespace in {
    27 namespace posixmq {
    27 namespace posixmq {
    28 
    28 
    29 class AttributeRecipe {
       
    30 public:
       
    31 
       
    32 	virtual ~AttributeRecipe() {
       
    33 	}
       
    34 
       
    35 	relpipe::writer::string_t name;
       
    36 	relpipe::writer::TypeId type;
       
    37 
       
    38 };
       
    39 
       
    40 class Configuration {
    29 class Configuration {
    41 public:
    30 public:
    42 
    31 
    43 	enum class ReadTypes {
    32 	relpipe::writer::integer_t messageCount = 1;
    44 		AUTO,
       
    45 		TRUE,
       
    46 		FALSE,
       
    47 	};
       
    48 
       
    49 	ReadTypes readTypes = ReadTypes::AUTO;
       
    50 	relpipe::writer::string_t relation = L"posixmq";
    33 	relpipe::writer::string_t relation = L"posixmq";
    51 	std::vector<AttributeRecipe> attributes;
    34 	relpipe::writer::string_t queue = L"relpipe";
    52 
    35 
    53 	virtual ~Configuration() {
    36 	virtual ~Configuration() {
    54 	}
    37 	}
    55 };
    38 };
    56 
    39