31 #ifndef DATATOOLS_OBJECT_CONFIGURATION_DESCRIPTION_H 32 #define DATATOOLS_OBJECT_CONFIGURATION_DESCRIPTION_H 42 #include <boost/scoped_ptr.hpp> 43 #include <boost/cstdint.hpp> 44 #include <boost/logic/tribool.hpp> 54 class object_configuration_description;
86 const std::string &
get_name()
const;
110 int fixed_size_ = -1);
112 bool triggering_status_ =
true);
114 const std::string & labels_);
151 const std::string &
get_from()
const;
178 void print(std::ostream &out_,
const std::string & indent_ =
"")
const;
191 void dump(std::ostream & out_ = std::clog,
192 const std::string & title_ =
"",
193 const std::string & indent_ =
"")
const;
197 std::string _name_pattern_;
199 std::string _section_;
201 std::string _terse_description_;
202 std::string _long_description_;
203 std::vector<std::string> _examples_;
207 bool _explicit_unit_;
208 std::string _unit_label_;
209 std::string _unit_symbol_;
211 int _array_fixed_size_;
212 int _default_array_size_;
213 boost::logic::tribool _default_value_boolean_;
214 int _default_value_integer_;
215 double _default_value_real_;
216 std::string _default_value_real_unit_;
217 std::string _default_value_string_;
219 bool _complex_triggering_conditions_;
220 bool _complex_dependencies_;
221 std::vector<dependency_entry> _dynamic_dependers_;
223 std::vector<dependency_entry> _triggering_;
227 std::string _deprecated_info_;
294 void add_group(
const std::string &group_);
296 const std::set<std::string> &
get_groups()
const;
310 void print(std::ostream & out_,
const std::string & indent_ =
"", uint32_t po_flags_ = 0)
const;
332 const std::string & topic_ =
"",
333 uint32_t sgo_flags_ = 0)
const;
342 void dump(std::ostream & out_ = std::clog,
343 const std::string & title_ =
"",
344 const std::string & indent_ =
"")
const;
353 std::string & error_message_)
const;
357 std::string & error_message_)
const;
367 std::string _class_name_;
368 std::string _class_description_;
369 std::string _class_documentation_;
370 std::string _class_library_;
371 std::set<std::string> _groups_;
373 std::string _configuration_hints_;
374 std::vector<std::string> _examples_;
376 bool _validation_support_;
382 #endif // DATATOOLS_OBJECT_CONFIGURATION_DESCRIPTION_H
Description of a dependency.
Definition: object_configuration_description.h:78
const configuration_property_description & ref() const
const std::string & get_name() const
int type
The type of dependency (should be a dependency_type ! TO BE FIXED!)
Definition: object_configuration_description.h:92
const configuration_property_description * address
Definition: object_configuration_description.h:96
std::string name
The name of the dependee property.
Definition: object_configuration_description.h:93
bool triggering_status
The triggering value of a flag dependee property (DEP_BY_FLAG)
Definition: object_configuration_description.h:94
std::vector< std::string > triggering_labels
The triggering values of a string dependee property (DEP_BY_LABEL)
Definition: object_configuration_description.h:95