30 #ifndef DATATOOLS_CONFIGURATION_VARIANT_RECORD_H 31 #define DATATOOLS_CONFIGURATION_VARIANT_RECORD_H 47 namespace configuration {
49 class variant_registry;
62 , _rank_((rank_< 0) ? -1 : rank_) {}
63 const std::string &
get_name()
const {
return _name_; }
99 const std::string &
get_path()
const;
287 virtual void tree_dump(std::ostream & out_ = std::clog,
288 const std::string & title_ =
"",
289 const std::string & indent_ =
"",
290 bool inherit_ =
false)
const;
304 void _compute_ranked_unranked_daughters_();
310 void _update_parameter_();
313 void _update_variant_();
319 void _fix_parameter_value_();
322 void _fix_dependers_on_this_variant_();
328 bool _with_update_ =
false;
332 std::string _base_name_;
333 std::vector<uint32_t> _indexes_;
339 std::vector<std::string> _ranked_daughters_;
340 std::vector<std::string> _unranked_daughters_;
343 bool _active_ =
false;
344 bool _value_set_ =
false;
345 bool _boolean_value_;
346 int32_t _integer_value_;
348 std::string _string_value_;
356 #endif // DATATOOLS_CONFIGURATION_VARIANT_RECORD_H
Utilities for logging information.