29 #ifndef DATATOOLS_CONFIGURATION_PARAMETER_MODEL_H 30 #define DATATOOLS_CONFIGURATION_PARAMETER_MODEL_H 50 class multi_properties;
52 namespace configuration {
56 class variant_physical;
57 class variant_repository;
155 bool has_variant(
const std::string & variant_name_)
const;
158 void add_variant(
const std::string & variant_name_);
173 void set_group(
const std::string & group_name_);
179 bool match_group(
const std::string & group_name_)
const;
189 virtual void tree_dump(std::ostream & out_ = std::clog,
190 const std::string & title_ =
"",
191 const std::string & indent_ =
"",
192 bool inherit_ =
false)
const;
201 const std::string & indent_ =
"",
202 const uint32_t flags_ = 0)
const;
214 bool _no_group_support_ =
false;
478 std::set<bool> & values_)
const;
490 const bool default_ =
false);
494 const bool default_ =
false);
519 std::set<int> & values_)
const;
537 const bool default_ =
false);
541 const bool default_ =
false);
563 std::set<double> & values_)
const;
578 const bool default_ =
false);
588 const bool default_ =
false);
601 std::set<std::string> & values_)
const;
613 bool has_group(
const std::string & group_name_)
const;
616 void add_group(
const std::string & group_name_,
617 const std::string & doc_ =
"");
627 bool has_variant(
const std::string & variant_name_)
const;
630 void add_variant(
const std::string & variant_name_,
632 const std::string & description_ =
"");
659 const std::string & variant_name_);
681 virtual void tree_dump(std::ostream & out_ = std::clog,
682 const std::string & title_ =
"",
683 const std::string & indent_ =
"",
684 bool inherit_ =
false)
const;
719 const std::string & variant_name_);
723 const std::string & variant_name_);
746 const std::string & indent_ =
"",
747 const uint32_t flags_ = 0)
const;
771 const char csv_separator_ =
':',
772 const char csv_subseparator_ =
';',
773 const std::string & value_regex_ =
"",
774 const std::string & group_regex_ =
"");
779 void _update_real_domain_();
784 std::string _documentation_;
789 bool _has_default_value_;
790 bool _has_fixed_value_;
796 bool _boolean_default_;
797 bool _boolean_fixed_;
803 int _integer_default_;
809 std::string _real_unit_label_;
810 std::string _real_preferred_unit_;
811 double _real_precision_;
812 double _real_default_;
819 std::string _string_default_;
820 std::string _string_fixed_;
838 #endif // DATATOOLS_CONFIGURATION_PARAMETER_MODEL_H
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.