src/Configuration.h
branchv_0
changeset 39 f33464965693
parent 38 2cc2d3f658f4
child 41 e1339b8e838e
equal deleted inserted replaced
38:2cc2d3f658f4 39:f33464965693
    40 
    40 
    41 class Configuration {
    41 class Configuration {
    42 public:
    42 public:
    43 
    43 
    44 	enum class ColorScheme {
    44 	enum class ColorScheme {
    45 		GreenScreen,
    45 		Greenish,
       
    46 		Amberish,
    46 		Monochrome,
    47 		Monochrome,
    47 		Midnight
    48 		Midnight
    48 	};
    49 	};
    49 
    50 
    50 	enum class TableStyle {
    51 	enum class TableStyle {
    58 
    59 
    59 	relpipe::reader::boolean_t writeTypes = true;
    60 	relpipe::reader::boolean_t writeTypes = true;
    60 	relpipe::reader::boolean_t writeRecordCount = true;
    61 	relpipe::reader::boolean_t writeRecordCount = true;
    61 	relpipe::reader::boolean_t writeRelationName = true;
    62 	relpipe::reader::boolean_t writeRelationName = true;
    62 	std::vector<RelationConfiguration> relationConfigurations;
    63 	std::vector<RelationConfiguration> relationConfigurations;
    63 	ColorScheme colorScheme = ColorScheme::GreenScreen;
    64 	ColorScheme colorScheme = ColorScheme::Greenish;
    64 	TableStyle tableStyle = TableStyle::Rounded;
    65 	TableStyle tableStyle = TableStyle::Rounded;
    65 
    66 
    66 	virtual ~Configuration() {
    67 	virtual ~Configuration() {
    67 	}
    68 	}
    68 };
    69 };