src/Configuration.h
branchv_0
changeset 1 e04e5bbc147b
parent 0 1bb084f84eb9
equal deleted inserted replaced
0:1bb084f84eb9 1:e04e5bbc147b
    34 	/** Reads standard relations generated by relpipe-in-ini. */
    34 	/** Reads standard relations generated by relpipe-in-ini. */
    35 	Standard,
    35 	Standard,
    36 	/** Relation name = section name; record = section; attribute = key/value. */
    36 	/** Relation name = section name; record = section; attribute = key/value. */
    37 	Literal,
    37 	Literal,
    38 	/** Like previous style, but the relation name is ignored and the section name is based on the attribute value. This style is useful for generating multiple sections with same keys. */
    38 	/** Like previous style, but the relation name is ignored and the section name is based on the attribute value. This style is useful for generating multiple sections with same keys. */
    39 	LiteralWithSectionAttribute,
    39 	SectionFirst,
    40 };
    40 };
    41 
    41 
    42 class WriterOptionRecipe {
    42 class WriterOptionRecipe {
    43 public:
    43 public:
    44 	relpipe::common::type::StringX uri;
    44 	relpipe::common::type::StringX uri;
    48 	}
    48 	}
    49 };
    49 };
    50 
    50 
    51 class RelationConfiguration {
    51 class RelationConfiguration {
    52 public:
    52 public:
       
    53 	/** regular expression */
    53 	relpipe::common::type::StringX relation;
    54 	relpipe::common::type::StringX relation;
    54 	Style style = Style::Automatic;
    55 	Style style = Style::Automatic;
    55 };
    56 };
    56 
    57 
    57 class Configuration {
    58 class Configuration {