Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
datatools::configuration::parameter_model Class Reference

Description/model of a configuration parameter. More...

#include <bayeux/datatools/configuration/parameter_model.h>

Inheritance diagram for datatools::configuration::parameter_model:
datatools::enriched_base datatools::i_serializable datatools::i_tree_dumpable

Classes

struct  base_enum_metadata
 Base enumerated item metadata. More...
 
struct  boolean_enum_value_metadata
 Boolean enumeration support. More...
 
struct  integer_enum_value_metadata
 Integer enumeration support. More...
 
struct  integer_range_enum_metadata
 Integer range support. More...
 
struct  real_enum_value_metadata
 Real enumeration support. More...
 
struct  real_range_enum_metadata
 Real range support. More...
 
struct  string_enum_value_metadata
 String enumeration support. More...
 

Public Types

enum  rst_flags { PRINT_RST_NO_TITLE = datatools::bit_mask::bit00, PRINT_RST_NO_DESC = datatools::bit_mask::bit01 }
 Special flag for RestructuredText formatting. More...
 
enum  mutability_type { MUTABILITY_UNDEFINED = 0, MUTABILITY_FIXED = 1, MUTABILITY_VARIABLE = 2, MUTABILITY_DEFAULT = MUTABILITY_VARIABLE }
 Parameter mode. More...
 
enum  variable_mode_type {
  VARIABLE_MODE_UNDEFINED = 0, VARIABLE_MODE_FREE = 1, VARIABLE_MODE_ENUM = 2, VARIABLE_MODE_INTERVAL = 4,
  VARIABLE_MODE_DEFAULT = 255
}
 Parameter variable mode. More...
 
enum  path_io_type { PATH_UNDEFINED = 0x0, PATH_INPUT = 0x1, PATH_OUTPUT = 0x2, PATH_INPUT_OUTPUT = 0x3 }
 Path I/O flags. More...
 
typedef std::map< std::string, variant_physicalvariant_dict_type
 Dictionary of variant physicals. More...
 
typedef std::map< std::string, std::string > group_dict_type
 Dictionary of groups. More...
 
typedef std::map< int, integer_enum_value_metadatainteger_enum_dict_type
 
typedef std::map< integer_range, integer_range_enum_metadatainteger_range_enum_dict_type
 
typedef std::map< double, real_enum_value_metadatareal_enum_dict_type
 
typedef std::map< std::string, string_enum_value_metadatastring_enum_dict_type
 
typedef std::map< real_range, real_range_enum_metadatareal_range_enum_dict_type
 
- Public Types inherited from datatools::enriched_base
enum  export_config_flags {
  EXPORT_CONFIG_CLEAR = bit_mask::bit00, EXPORT_CONFIG_NAME = bit_mask::bit01, EXPORT_CONFIG_DISPLAY_NAME = bit_mask::bit02, EXPORT_CONFIG_TERSE_DESCRIPTION = bit_mask::bit03,
  EXPORT_CONFIG_LOGGING_PRIORITY = bit_mask::bit04, EXPORT_CONFIG_AUXILIARIES = bit_mask::bit05, EXPORT_CONFIG_DEFAULT, EXPORT_CONFIG_LAST = EXPORT_CONFIG_AUXILIARIES
}
 Flags for export to a container of properties. More...
 
- Public Types inherited from datatools::i_tree_dumpable
enum  ostream_type { OSTREAM_COUT = 1, OSTREAM_CERR = 2, OSTREAM_CLOG = 3 }
 Enumeration for standard output streams. More...
 

Public Member Functions

virtual bool is_name_valid (const std::string &name_) const
 Check if a name is valid. More...
 
 parameter_model ()
 Constructor. More...
 
virtual ~parameter_model ()
 Destructor. More...
 
bool has_documentation () const
 Check if the documentation is empty. More...
 
void set_documentation (const std::string &documentation_)
 Set the documentation. More...
 
const std::string & get_documentation () const
 Return the documentation. More...
 
bool has_type () const
 Check if type is defined. More...
 
void set_type (const basic_type type_)
 Set the type of the parameter. More...
 
basic_type get_type () const
 Return the type of the parameter. More...
 
bool is_boolean () const
 Check boolean type. More...
 
bool is_integer () const
 Check integer type. More...
 
bool is_real () const
 Check real type. More...
 
bool is_string () const
 Check string type. More...
 
bool is_path () const
 Check path string. More...
 
void set_path (const bool is_path_)
 Set the path flag. More...
 
void reset_path ()
 Reset the path flag. More...
 
bool has_path_io () const
 Check if path I/O mode is defined. More...
 
void set_path_io (const path_io_type path_io_)
 Set the path I/O. More...
 
bool is_path_input () const
 Check path input flag. More...
 
bool is_path_output () const
 Check path output flag. More...
 
bool is_path_input_output () const
 Check path output flag. More...
 
void set (const basic_type type_, const variable_mode_type variable_mode_)
 Set the type and variable mode of the parameter. More...
 
bool has_variable_mode () const
 Check if variable mode is defined. More...
 
void set_variable_mode (const variable_mode_type variable_mode_)
 Set the mode of the parameter. More...
 
variable_mode_type get_variable_mode () const
 Return the mode of the parameter. More...
 
bool has_mutability () const
 Check mutability. More...
 
void set_mutability (const mutability_type mutability_)
 Set the mutability trait. More...
 
mutability_type get_mutability () const
 Get mutability. More...
 
bool is_fixed () const
 Check fixed trait. More...
 
bool is_variable () const
 Check mutability trait. More...
 
bool has_fixed_value () const
 Check fixed value. More...
 
bool get_fixed_boolean () const
 Return the fixed boolean. More...
 
int get_fixed_integer () const
 Return the fixed integer. More...
 
double get_fixed_real () const
 Return the fixed real. More...
 
const std::string & get_fixed_string () const
 Return the fixed string. More...
 
void set_fixed_boolean (const bool value_)
 Set fixed boolean value. More...
 
void set_fixed_integer (const int value_)
 Set fixed integer value. More...
 
void set_fixed_real (const double value_)
 Set fixed real value. More...
 
void set_fixed_string (const std::string &value_)
 Set fixed string value. More...
 
bool is_free () const
 Check free mode. More...
 
bool is_interval () const
 Check interval mode. More...
 
bool is_enumeration () const
 Check enumeration mode. More...
 
bool has_integer_domain () const
 Check the integer domain. More...
 
void set_integer_domain (const integer_range &ir_)
 Set integer interval. More...
 
const integer_rangeget_integer_domain () const
 Return the integer domain. More...
 
bool has_real_domain () const
 Check the real domain. More...
 
void set_real_domain (const real_range &ir_)
 
const real_rangeget_real_domain () const
 Return the real domain. More...
 
bool has_default_value () const
 Check default value. More...
 
void reset_default_value ()
 Reset the default value. More...
 
void set_default_boolean (const bool value_)
 Set default boolean value. More...
 
bool get_default_boolean () const
 Return the default boolean. More...
 
void set_default_integer (const int value_)
 Set default integer value. More...
 
int get_default_integer () const
 Return the default integer. More...
 
bool has_real_precision () const
 Check the real precision. More...
 
void set_real_precision (const double prec_)
 Set the real precision. More...
 
void reset_real_precision ()
 Reset the real precision. More...
 
double get_real_precision () const
 Return the real precision. More...
 
double get_real_effective_precision () const
 Return the real effective precision. More...
 
void set_default_real (const double value_)
 Set default real value. More...
 
double get_default_real () const
 Return the default real. More...
 
void set_default_string (const std::string &value_)
 Set default string value. More...
 
const std::string & get_default_string () const
 Return the default string. More...
 
bool has_real_unit_label () const
 Check the real unit label. More...
 
void set_real_unit_label (const std::string &unit_label_)
 Set the unit label. More...
 
const std::string & get_real_unit_label () const
 Return the unit label. More...
 
bool has_real_preferred_unit () const
 Check the real unit symbol. More...
 
void set_real_preferred_unit (const std::string &value_)
 Set the unit symbol. More...
 
const std::string & get_real_preferred_unit () const
 Return the unit symbol. More...
 
bool fetch_real_display_unit (std::string &display_unit_symbol_, double &unit_value_) const
 Fetch the display unit symbol. More...
 
void set_enumerated_boolean_value_metadata (const bool value_, const boolean_enum_value_metadata &metadata_)
 Set the metadata associated to a boolean value. More...
 
const boolean_enum_value_metadataget_enumerated_boolean_value_metadata (const bool value_) const
 Return the metadata associated to a boolean value. More...
 
boolean_enum_value_metadatagrab_enumerated_boolean_value_metadata (const bool value_)
 Return the metadata associated to a boolean value. More...
 
bool enumerated_boolean_value_has_group (const bool value_) const
 Check if an enumerated boolean value has a group. More...
 
const std::string & get_enumerated_boolean_value_group (const bool value_) const
 Return the group associated to an enumerated boolean value. More...
 
void build_list_of_enumerated_boolean_groups (std::set< std::string > &groups_) const
 Build the list of groups associated to enumerated boolean value. More...
 
void build_list_of_enumerated_boolean_values_in_group (const std::string &group_, std::set< bool > &values_) const
 Build the list of enumerated boolean values associated to a given group. More...
 
void build_list_of_enumerated_boolean_values (std::set< bool > &values_) const
 Build the list of enumerated boolean values. More...
 
void add_enumerated_integer_value (const int value_, const integer_enum_value_metadata &metadata, const bool default_=false)
 Add an enumerated integer value. More...
 
void add_enumerated_integer_value (const int value_, const bool default_=false)
 Add an enumerated integer value with its metadata. More...
 
bool has_enumerated_integer_value (const int value_) const
 Check enumerated integer value. More...
 
void fetch_integer_enumeration (std::vector< int > &values_) const
 Fetch the list of enumerated integer values. More...
 
bool enumerated_integer_value_has_group (const int value_) const
 Check if an enumerated integer value has a group. More...
 
const std::string & get_enumerated_integer_value_group (const int value_) const
 Return the group associated to an enumerated integer value. More...
 
const integer_enum_value_metadataget_enumerated_integer_value_metadata (const int value_) const
 Return the metadata associated to an enumerated integer value. More...
 
integer_enum_value_metadatagrab_enumerated_integer_value_metadata (const int value_)
 Return the metadata associated to an enumerated integer value. More...
 
void build_list_of_enumerated_integer_groups (std::set< std::string > &groups_) const
 Build the list of groups associated to enumerated integer value. More...
 
void build_list_of_enumerated_integer_values_in_group (const std::string &group_, std::set< int > &values_) const
 Build the list of enumerated integer values associated to a given group. More...
 
void build_list_of_enumerated_integer_values (std::set< int > &values_) const
 Build the list of enumerated integer values. More...
 
bool has_enumerated_real_value (const double value_) const
 Check enumerated real value. More...
 
bool find_enumerated_real_value (const double value_, double &enum_value_) const
 Find the matching enumerated real value taking into account the precision if any. More...
 
void add_enumerated_real_value (const double value_, const real_enum_value_metadata &metadata_, const bool default_=false)
 Add an enumerated real value with its metadata. More...
 
void add_enumerated_real_value (const double value_, const bool default_=false)
 Add an enumerated real value. More...
 
bool enumerated_real_value_has_group (const double value_) const
 Check if an enumerated real value has a group. More...
 
const std::string & get_enumerated_real_value_group (const double value_) const
 Return the group associated to an enumerated real value. More...
 
const real_enum_value_metadataget_enumerated_real_value_metadata (const double value_) const
 Return the metadata associated to an enumerated real value. More...
 
real_enum_value_metadatagrab_enumerated_real_value_metadata (const double value_)
 Return the metadata associated to an enumerated real value. More...
 
void fetch_real_enumeration (std::vector< double > &values_) const
 Fetch the list of enumerated real values. More...
 
void build_list_of_enumerated_real_groups (std::set< std::string > &groups_) const
 Build the list of groups associated to enumerated reals. More...
 
void build_list_of_enumerated_real_values_in_group (const std::string &group_, std::set< double > &values_) const
 Build the list of enumerated real values associated to a given group. More...
 
void build_list_of_enumerated_real_values (std::set< double > &values_) const
 Build the list of enumerated integer values. More...
 
bool has_enumerated_string_value (const std::string &value_) const
 Check enumerated string value. More...
 
void add_enumerated_string_value (const std::string &value_, const string_enum_value_metadata &metadata_, const bool default_=false)
 Add an enumerated string value with its metadata. More...
 
bool enumerated_string_value_has_group (const std::string &value_) const
 Check if an enumerated string value has a group. More...
 
const std::string & get_enumerated_string_value_group (const std::string &value_) const
 Return the group associated to an enumerated string value. More...
 
void add_enumerated_string_value (const std::string &value_, const bool default_=false)
 Add an enumerated string value. More...
 
const string_enum_value_metadataget_enumerated_string_value_metadata (const std::string &value_) const
 Return the metadata associated to an enumerated string value. More...
 
string_enum_value_metadatagrab_enumerated_string_value_metadata (const std::string &value_)
 Return the metadata associated to an enumerated string value. More...
 
void build_list_of_enumerated_string_groups (std::set< std::string > &groups_) const
 Build the list of groups associated to enumerated strings. More...
 
void build_list_of_enumerated_string_values_in_group (const std::string &group_, std::set< std::string > &values_) const
 Build the list of enumerated string values associated to a given group. More...
 
void build_list_of_enumerated_string_values (std::set< std::string > &values_) const
 Build the list of enumerated string values. More...
 
bool has_groups () const
 Check if groups are defines. More...
 
bool has_group (const std::string &group_name_) const
 Check if a group exists. More...
 
void add_group (const std::string &group_name_, const std::string &doc_="")
 Add a group. More...
 
void build_set_of_groups (std::set< std::string > &group_) const
 Build the list of groups. More...
 
bool has_variant (const std::string &variant_name_) const
 Check if a variant exists. More...
 
void add_variant (const std::string &variant_name_, const vm_handle_type &variant_model_handle_, const std::string &description_="")
 Add a variant with its model and description string. More...
 
void remove_variant (const std::string &variant_name_)
 Remove a variant. More...
 
const std::string & get_variant_description (const std::string &variant_name_) const
 Return a description string associated to a given variant. More...
 
const variant_modelget_variant_model (const std::string &variant_name_) const
 Return a const reference to a variant model associated to a given variant. More...
 
vm_handle_type get_variant_model_handle (const std::string &variant_name_) const
 Return a variant model handle associated to a given variant. More...
 
void associate_variant_to_boolean (const bool value_, const std::string &variant_name_)
 Associate a variant to an enumerated boolean value. More...
 
void associate_variant_to_integer (const int value_, const std::string &variant_name_)
 Associate a variant to an enumerated integer value. More...
 
void associate_variant_to_real (const double value_, const std::string &variant_name_)
 Associate a variant to an enumerated real value. More...
 
void associate_variant_to_string (const std::string &value_, const std::string &variant_name_)
 Associate a variant to an enumerated string value. More...
 
bool is_initialized () const
 Check initialization status. More...
 
void initialize (const properties &setup_, model_item_dict_type &items_)
 Initialization from properties and a dictionary of configuration items. More...
 
void initialize_standalone (const properties &)
 Initialization from properties only. More...
 
void initialize_simple ()
 Bare initialization. More...
 
void reset ()
 Reset. More...
 
virtual void tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
 Smart print. More...
 
bool is_boolean_valid (const bool) const
 Check if a boolean value is valid. More...
 
bool is_integer_valid (const int) const
 Check if an integer value is valid. More...
 
bool is_real_valid (const double) const
 Check if a real value is valid. More...
 
bool is_string_valid (const std::string &) const
 Check if a string value is valid. More...
 
const variant_dict_typeget_variants () const
 Return a reference to the list of variants. More...
 
bool find_variants_associated_to_boolean (const bool value_, std::set< std::string > &variants_) const
 Find the set of variants associated to a given boolean value. More...
 
bool find_variants_associated_to_integer (const int value_, std::set< std::string > &variants_) const
 Find the set of variants associated to a given integer value. More...
 
bool find_variants_associated_to_real (const double value_, std::set< std::string > &variants_) const
 Find the name of the variant associated to a given real value. More...
 
bool find_variants_associated_to_string (const std::string &value_, std::set< std::string > &variants_) const
 Find the name of the variant associated to a given string value. More...
 
void associate_variant_to_integer_range (const integer_range &range_, const std::string &variant_name_)
 Associate a variant to an integer range. More...
 
void associate_variant_to_real_range (const real_range &range_, const std::string &variant_name_)
 Associate a variant to an real range. More...
 
void add_integer_range (const integer_range &, const integer_range_enum_metadata &)
 Add a integer range. More...
 
void add_real_range (const real_range &, const real_range_enum_metadata &)
 Add a real range. More...
 
const integer_range_enum_dict_typeget_integer_ranges () const
 Return the dictionary of integer ranges. More...
 
const real_range_enum_dict_typeget_real_ranges () const
 Return the dictionary ofreal ranges. More...
 
void print_rst (std::ostream &out_, const std::string &indent_="", const uint32_t flags_=0) const
 Print in ReST format. More...
 
- Public Member Functions inherited from datatools::enriched_base
 enriched_base ()
 Default constructor. More...
 
 enriched_base (const std::string &name_, const std::string &display_name_="", const std::string &terse_description_="", logger::priority lp_=logger::PRIO_FATAL)
 Constructor. More...
 
virtual ~enriched_base ()
 Destructor. More...
 
bool has_name () const
 Check if the name is not empty. More...
 
void set_name (const std::string &name_)
 Set the name. More...
 
enriched_baseset_name_c (const std::string &name_)
 Set the name. More...
 
const std::string & get_name () const
 Return the name. More...
 
void reset_name ()
 Reset the name. More...
 
bool has_display_name () const
 Check if the display name is empty. More...
 
void set_display_name (const std::string &display_name_)
 Set the display name. More...
 
enriched_baseset_display_name_c (const std::string &display_name_)
 Set the display name. More...
 
const std::string & get_display_name () const
 Return the display name. More...
 
bool has_terse_description () const
 Check if the description is empty. More...
 
void set_terse_description (const std::string &terse_description_)
 Set the description. More...
 
enriched_baseset_terse_description_c (const std::string &terse_description_)
 Set the description. More...
 
const std::string & get_terse_description () const
 Return the description. More...
 
bool has_auxiliaries () const
 Check if the container of auxiliary properties is empty. More...
 
const datatools::propertiesget_auxiliaries () const
 Return a reference to the non mutable container of auxiliary properties. More...
 
datatools::propertiesgrab_auxiliaries ()
 Return a reference to the mutable container of auxiliary properties. More...
 
void reset_auxiliaries ()
 Remove all auxiliary properties. More...
 
bool is_debug () const
 Check the debug status. More...
 
void set_logging_priority (logger::priority lp_)
 Set the logging priority threshold. More...
 
enriched_baseset_logging_priority_c (logger::priority lp_)
 Set the logging priority threshold. More...
 
void set_logging (const std::string &label_)
 Set the logging priority threshold from a string. More...
 
logger::priority get_logging_priority () const
 Return the logging priority threshold. More...
 
void clear ()
 Clear. More...
 
void reset ()
 Clear. More...
 
void print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const override
 Smart print. More...
 
void tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const override
 Smart print. More...
 
void initialize (const datatools::properties &config_, bool clear_=false)
 Initialization from a container of properties. More...
 
void export_to_config (datatools::properties &config_, uint32_t flags_=EXPORT_CONFIG_DEFAULT, const std::string &prefix_="") const
 Export to a container of properties. More...
 
- Public Member Functions inherited from datatools::i_serializable
 i_serializable ()
 Default constructor. More...
 
virtual ~i_serializable ()
 Destructor. More...
 
virtual const std::string & get_serial_tag () const =0
 Return the serialization string identifier of the class. More...
 
- Public Member Functions inherited from datatools::i_tree_dumpable
 i_tree_dumpable ()
 Constructor. More...
 
virtual ~i_tree_dumpable ()
 Destructor. More...
 
void print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const
 Printing with jsonized options. More...
 
void print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const
 Printing with jsonized options. More...
 
void tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const
 
void tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const
 
void smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const
 

Static Public Member Functions

static std::string label_from_mutability (const mutability_type)
 Return the label associated to the mutability. More...
 
static mutability_type mutability_from_label (const std::string &)
 Return the mutability associated to the mutability label. More...
 
static std::string label_from_variable_mode (const variable_mode_type)
 Return the label associated to a variable mode. More...
 
static variable_mode_type variable_mode_from_label (const std::string &)
 Return the variable mode associated to a label. More...
 
static const std::string & aux_prefix ()
 Return the prefix for auxialiary properties. More...
 
static std::string label_from_path_io (const path_io_type)
 Return the label associated to a path I/O mode. More...
 
static path_io_type path_io_from_label (const std::string &)
 Return the path I/O mode associated to a label. More...
 
static void init_ocd (datatools::object_configuration_description &)
 OCD support. More...
 
- Static Public Member Functions inherited from datatools::enriched_base
static bool validate_name (const std::string &candidate_name_)
 Validate a name. More...
 
static logger::priority default_logging_priority ()
 Return the default logging priority threshold. More...
 
static void init_ocd (datatools::object_configuration_description &)
 OCD support. More...
 
- Static Public Member Functions inherited from datatools::i_tree_dumpable
static const boost::property_tree::ptree & empty_options ()
 
static boost::property_tree::ptree make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false)
 
static std::ostream & last_skip_tag (std::ostream &out_)
 
static std::ostream & skip_tag (std::ostream &out_)
 
static std::ostream & last_tag (std::ostream &out_)
 
static std::ostream & tag (std::ostream &out_)
 

Protected Member Functions

void _set_variable_mode (const variable_mode_type)
 Set the mode. More...
 
void _set_default ()
 Set default values. More...
 
void _parse_string_enumeration_from_csv_file (const std::string &csv_filename_, const char csv_separator_=':', const char csv_subseparator_=';', const std::string &value_regex_="", const std::string &group_regex_="")
 

Detailed Description

Description/model of a configuration parameter.

Member Typedef Documentation

◆ group_dict_type

typedef std::map<std::string, std::string> datatools::configuration::parameter_model::group_dict_type

Dictionary of groups.

◆ integer_enum_dict_type

◆ integer_range_enum_dict_type

◆ real_enum_dict_type

◆ real_range_enum_dict_type

◆ string_enum_dict_type

◆ variant_dict_type

Dictionary of variant physicals.

Member Enumeration Documentation

◆ mutability_type

Parameter mode.

Enumerator
MUTABILITY_UNDEFINED 

Undefined mutability trait.

MUTABILITY_FIXED 

Parameter is fixed (no mutability)

MUTABILITY_VARIABLE 

Parameter is variable (mutability)

MUTABILITY_DEFAULT 

Default mutability trait.

◆ path_io_type

Path I/O flags.

Enumerator
PATH_UNDEFINED 

Undefined I/O flag.

PATH_INPUT 

Flag for input file.

PATH_OUTPUT 

Flag for output file.

PATH_INPUT_OUTPUT 

Flag for input & output file.

◆ rst_flags

Special flag for RestructuredText formatting.

Enumerator
PRINT_RST_NO_TITLE 
PRINT_RST_NO_DESC 

◆ variable_mode_type

Parameter variable mode.

Enumerator
VARIABLE_MODE_UNDEFINED 

Undefined variable mode.

VARIABLE_MODE_FREE 

Parameter can have a free value.

VARIABLE_MODE_ENUM 

Parameter can have values from an enumeration.

VARIABLE_MODE_INTERVAL 

Parameter can have values in an interval (if applicable)

VARIABLE_MODE_DEFAULT 

Default variable mode.

Constructor & Destructor Documentation

◆ parameter_model()

datatools::configuration::parameter_model::parameter_model ( )

Constructor.

◆ ~parameter_model()

virtual datatools::configuration::parameter_model::~parameter_model ( )
virtual

Destructor.

Member Function Documentation

◆ _parse_string_enumeration_from_csv_file()

void datatools::configuration::parameter_model::_parse_string_enumeration_from_csv_file ( const std::string &  csv_filename_,
const char  csv_separator_ = ':',
const char  csv_subseparator_ = ';',
const std::string &  value_regex_ = "",
const std::string &  group_regex_ = "" 
)
protected

Load a list of strings (in enumeration variable mode) from a file using a CSV format:

  • one "value" per line with optional "group" separated with a colon ':'
  • commented lines start with a sharp '#'
  • blank lines are ignored
  • a value with a leading star '*' is used as the default value
    *Foo : Description : group1 : variant0
    Bar : Description : group2
    Baz : Description : : variant1
    John : Description : group1 : variant2
    Cindy : Description : group3 : variant1;variant2

◆ _set_default()

void datatools::configuration::parameter_model::_set_default ( )
protected

Set default values.

◆ _set_variable_mode()

void datatools::configuration::parameter_model::_set_variable_mode ( const  variable_mode_type)
protected

Set the mode.

◆ add_enumerated_integer_value() [1/2]

void datatools::configuration::parameter_model::add_enumerated_integer_value ( const int  value_,
const integer_enum_value_metadata metadata,
const bool  default_ = false 
)

Add an enumerated integer value.

◆ add_enumerated_integer_value() [2/2]

void datatools::configuration::parameter_model::add_enumerated_integer_value ( const int  value_,
const bool  default_ = false 
)

Add an enumerated integer value with its metadata.

◆ add_enumerated_real_value() [1/2]

void datatools::configuration::parameter_model::add_enumerated_real_value ( const double  value_,
const real_enum_value_metadata metadata_,
const bool  default_ = false 
)

Add an enumerated real value with its metadata.

◆ add_enumerated_real_value() [2/2]

void datatools::configuration::parameter_model::add_enumerated_real_value ( const double  value_,
const bool  default_ = false 
)

Add an enumerated real value.

◆ add_enumerated_string_value() [1/2]

void datatools::configuration::parameter_model::add_enumerated_string_value ( const std::string &  value_,
const string_enum_value_metadata metadata_,
const bool  default_ = false 
)

Add an enumerated string value with its metadata.

◆ add_enumerated_string_value() [2/2]

void datatools::configuration::parameter_model::add_enumerated_string_value ( const std::string &  value_,
const bool  default_ = false 
)

Add an enumerated string value.

◆ add_group()

void datatools::configuration::parameter_model::add_group ( const std::string &  group_name_,
const std::string &  doc_ = "" 
)

Add a group.

◆ add_integer_range()

void datatools::configuration::parameter_model::add_integer_range ( const integer_range ,
const integer_range_enum_metadata  
)

Add a integer range.

◆ add_real_range()

void datatools::configuration::parameter_model::add_real_range ( const real_range ,
const real_range_enum_metadata  
)

Add a real range.

◆ add_variant()

void datatools::configuration::parameter_model::add_variant ( const std::string &  variant_name_,
const vm_handle_type variant_model_handle_,
const std::string &  description_ = "" 
)

Add a variant with its model and description string.

◆ associate_variant_to_boolean()

void datatools::configuration::parameter_model::associate_variant_to_boolean ( const bool  value_,
const std::string &  variant_name_ 
)

Associate a variant to an enumerated boolean value.

◆ associate_variant_to_integer()

void datatools::configuration::parameter_model::associate_variant_to_integer ( const int  value_,
const std::string &  variant_name_ 
)

Associate a variant to an enumerated integer value.

◆ associate_variant_to_integer_range()

void datatools::configuration::parameter_model::associate_variant_to_integer_range ( const integer_range range_,
const std::string &  variant_name_ 
)

Associate a variant to an integer range.

◆ associate_variant_to_real()

void datatools::configuration::parameter_model::associate_variant_to_real ( const double  value_,
const std::string &  variant_name_ 
)

Associate a variant to an enumerated real value.

◆ associate_variant_to_real_range()

void datatools::configuration::parameter_model::associate_variant_to_real_range ( const real_range range_,
const std::string &  variant_name_ 
)

Associate a variant to an real range.

◆ associate_variant_to_string()

void datatools::configuration::parameter_model::associate_variant_to_string ( const std::string &  value_,
const std::string &  variant_name_ 
)

Associate a variant to an enumerated string value.

◆ aux_prefix()

static const std::string& datatools::configuration::parameter_model::aux_prefix ( )
static

Return the prefix for auxialiary properties.

◆ build_list_of_enumerated_boolean_groups()

void datatools::configuration::parameter_model::build_list_of_enumerated_boolean_groups ( std::set< std::string > &  groups_) const

Build the list of groups associated to enumerated boolean value.

◆ build_list_of_enumerated_boolean_values()

void datatools::configuration::parameter_model::build_list_of_enumerated_boolean_values ( std::set< bool > &  values_) const

Build the list of enumerated boolean values.

◆ build_list_of_enumerated_boolean_values_in_group()

void datatools::configuration::parameter_model::build_list_of_enumerated_boolean_values_in_group ( const std::string &  group_,
std::set< bool > &  values_ 
) const

Build the list of enumerated boolean values associated to a given group.

◆ build_list_of_enumerated_integer_groups()

void datatools::configuration::parameter_model::build_list_of_enumerated_integer_groups ( std::set< std::string > &  groups_) const

Build the list of groups associated to enumerated integer value.

◆ build_list_of_enumerated_integer_values()

void datatools::configuration::parameter_model::build_list_of_enumerated_integer_values ( std::set< int > &  values_) const

Build the list of enumerated integer values.

◆ build_list_of_enumerated_integer_values_in_group()

void datatools::configuration::parameter_model::build_list_of_enumerated_integer_values_in_group ( const std::string &  group_,
std::set< int > &  values_ 
) const

Build the list of enumerated integer values associated to a given group.

◆ build_list_of_enumerated_real_groups()

void datatools::configuration::parameter_model::build_list_of_enumerated_real_groups ( std::set< std::string > &  groups_) const

Build the list of groups associated to enumerated reals.

◆ build_list_of_enumerated_real_values()

void datatools::configuration::parameter_model::build_list_of_enumerated_real_values ( std::set< double > &  values_) const

Build the list of enumerated integer values.

◆ build_list_of_enumerated_real_values_in_group()

void datatools::configuration::parameter_model::build_list_of_enumerated_real_values_in_group ( const std::string &  group_,
std::set< double > &  values_ 
) const

Build the list of enumerated real values associated to a given group.

◆ build_list_of_enumerated_string_groups()

void datatools::configuration::parameter_model::build_list_of_enumerated_string_groups ( std::set< std::string > &  groups_) const

Build the list of groups associated to enumerated strings.

◆ build_list_of_enumerated_string_values()

void datatools::configuration::parameter_model::build_list_of_enumerated_string_values ( std::set< std::string > &  values_) const

Build the list of enumerated string values.

◆ build_list_of_enumerated_string_values_in_group()

void datatools::configuration::parameter_model::build_list_of_enumerated_string_values_in_group ( const std::string &  group_,
std::set< std::string > &  values_ 
) const

Build the list of enumerated string values associated to a given group.

◆ build_set_of_groups()

void datatools::configuration::parameter_model::build_set_of_groups ( std::set< std::string > &  group_) const

Build the list of groups.

◆ enumerated_boolean_value_has_group()

bool datatools::configuration::parameter_model::enumerated_boolean_value_has_group ( const bool  value_) const

Check if an enumerated boolean value has a group.

◆ enumerated_integer_value_has_group()

bool datatools::configuration::parameter_model::enumerated_integer_value_has_group ( const int  value_) const

Check if an enumerated integer value has a group.

◆ enumerated_real_value_has_group()

bool datatools::configuration::parameter_model::enumerated_real_value_has_group ( const double  value_) const

Check if an enumerated real value has a group.

◆ enumerated_string_value_has_group()

bool datatools::configuration::parameter_model::enumerated_string_value_has_group ( const std::string &  value_) const

Check if an enumerated string value has a group.

◆ fetch_integer_enumeration()

void datatools::configuration::parameter_model::fetch_integer_enumeration ( std::vector< int > &  values_) const

Fetch the list of enumerated integer values.

◆ fetch_real_display_unit()

bool datatools::configuration::parameter_model::fetch_real_display_unit ( std::string &  display_unit_symbol_,
double &  unit_value_ 
) const

Fetch the display unit symbol.

◆ fetch_real_enumeration()

void datatools::configuration::parameter_model::fetch_real_enumeration ( std::vector< double > &  values_) const

Fetch the list of enumerated real values.

◆ find_enumerated_real_value()

bool datatools::configuration::parameter_model::find_enumerated_real_value ( const double  value_,
double &  enum_value_ 
) const

Find the matching enumerated real value taking into account the precision if any.

◆ find_variants_associated_to_boolean()

bool datatools::configuration::parameter_model::find_variants_associated_to_boolean ( const bool  value_,
std::set< std::string > &  variants_ 
) const

Find the set of variants associated to a given boolean value.

◆ find_variants_associated_to_integer()

bool datatools::configuration::parameter_model::find_variants_associated_to_integer ( const int  value_,
std::set< std::string > &  variants_ 
) const

Find the set of variants associated to a given integer value.

◆ find_variants_associated_to_real()

bool datatools::configuration::parameter_model::find_variants_associated_to_real ( const double  value_,
std::set< std::string > &  variants_ 
) const

Find the name of the variant associated to a given real value.

◆ find_variants_associated_to_string()

bool datatools::configuration::parameter_model::find_variants_associated_to_string ( const std::string &  value_,
std::set< std::string > &  variants_ 
) const

Find the name of the variant associated to a given string value.

◆ get_default_boolean()

bool datatools::configuration::parameter_model::get_default_boolean ( ) const

Return the default boolean.

◆ get_default_integer()

int datatools::configuration::parameter_model::get_default_integer ( ) const

Return the default integer.

◆ get_default_real()

double datatools::configuration::parameter_model::get_default_real ( ) const

Return the default real.

◆ get_default_string()

const std::string& datatools::configuration::parameter_model::get_default_string ( ) const

Return the default string.

◆ get_documentation()

const std::string& datatools::configuration::parameter_model::get_documentation ( ) const

Return the documentation.

◆ get_enumerated_boolean_value_group()

const std::string& datatools::configuration::parameter_model::get_enumerated_boolean_value_group ( const bool  value_) const

Return the group associated to an enumerated boolean value.

◆ get_enumerated_boolean_value_metadata()

const boolean_enum_value_metadata& datatools::configuration::parameter_model::get_enumerated_boolean_value_metadata ( const bool  value_) const

Return the metadata associated to a boolean value.

◆ get_enumerated_integer_value_group()

const std::string& datatools::configuration::parameter_model::get_enumerated_integer_value_group ( const int  value_) const

Return the group associated to an enumerated integer value.

◆ get_enumerated_integer_value_metadata()

const integer_enum_value_metadata& datatools::configuration::parameter_model::get_enumerated_integer_value_metadata ( const int  value_) const

Return the metadata associated to an enumerated integer value.

◆ get_enumerated_real_value_group()

const std::string& datatools::configuration::parameter_model::get_enumerated_real_value_group ( const double  value_) const

Return the group associated to an enumerated real value.

◆ get_enumerated_real_value_metadata()

const real_enum_value_metadata& datatools::configuration::parameter_model::get_enumerated_real_value_metadata ( const double  value_) const

Return the metadata associated to an enumerated real value.

◆ get_enumerated_string_value_group()

const std::string& datatools::configuration::parameter_model::get_enumerated_string_value_group ( const std::string &  value_) const

Return the group associated to an enumerated string value.

◆ get_enumerated_string_value_metadata()

const string_enum_value_metadata& datatools::configuration::parameter_model::get_enumerated_string_value_metadata ( const std::string &  value_) const

Return the metadata associated to an enumerated string value.

◆ get_fixed_boolean()

bool datatools::configuration::parameter_model::get_fixed_boolean ( ) const

Return the fixed boolean.

◆ get_fixed_integer()

int datatools::configuration::parameter_model::get_fixed_integer ( ) const

Return the fixed integer.

◆ get_fixed_real()

double datatools::configuration::parameter_model::get_fixed_real ( ) const

Return the fixed real.

◆ get_fixed_string()

const std::string& datatools::configuration::parameter_model::get_fixed_string ( ) const

Return the fixed string.

◆ get_integer_domain()

const integer_range& datatools::configuration::parameter_model::get_integer_domain ( ) const

Return the integer domain.

◆ get_integer_ranges()

const integer_range_enum_dict_type& datatools::configuration::parameter_model::get_integer_ranges ( ) const

Return the dictionary of integer ranges.

◆ get_mutability()

mutability_type datatools::configuration::parameter_model::get_mutability ( ) const

Get mutability.

◆ get_real_domain()

const real_range& datatools::configuration::parameter_model::get_real_domain ( ) const

Return the real domain.

◆ get_real_effective_precision()

double datatools::configuration::parameter_model::get_real_effective_precision ( ) const

Return the real effective precision.

◆ get_real_precision()

double datatools::configuration::parameter_model::get_real_precision ( ) const

Return the real precision.

◆ get_real_preferred_unit()

const std::string& datatools::configuration::parameter_model::get_real_preferred_unit ( ) const

Return the unit symbol.

◆ get_real_ranges()

const real_range_enum_dict_type& datatools::configuration::parameter_model::get_real_ranges ( ) const

Return the dictionary ofreal ranges.

◆ get_real_unit_label()

const std::string& datatools::configuration::parameter_model::get_real_unit_label ( ) const

Return the unit label.

◆ get_type()

basic_type datatools::configuration::parameter_model::get_type ( ) const

Return the type of the parameter.

◆ get_variable_mode()

variable_mode_type datatools::configuration::parameter_model::get_variable_mode ( ) const

Return the mode of the parameter.

◆ get_variant_description()

const std::string& datatools::configuration::parameter_model::get_variant_description ( const std::string &  variant_name_) const

Return a description string associated to a given variant.

◆ get_variant_model()

const variant_model& datatools::configuration::parameter_model::get_variant_model ( const std::string &  variant_name_) const

Return a const reference to a variant model associated to a given variant.

◆ get_variant_model_handle()

vm_handle_type datatools::configuration::parameter_model::get_variant_model_handle ( const std::string &  variant_name_) const

Return a variant model handle associated to a given variant.

◆ get_variants()

const variant_dict_type& datatools::configuration::parameter_model::get_variants ( ) const

Return a reference to the list of variants.

◆ grab_enumerated_boolean_value_metadata()

boolean_enum_value_metadata& datatools::configuration::parameter_model::grab_enumerated_boolean_value_metadata ( const bool  value_)

Return the metadata associated to a boolean value.

◆ grab_enumerated_integer_value_metadata()

integer_enum_value_metadata& datatools::configuration::parameter_model::grab_enumerated_integer_value_metadata ( const int  value_)

Return the metadata associated to an enumerated integer value.

◆ grab_enumerated_real_value_metadata()

real_enum_value_metadata& datatools::configuration::parameter_model::grab_enumerated_real_value_metadata ( const double  value_)

Return the metadata associated to an enumerated real value.

◆ grab_enumerated_string_value_metadata()

string_enum_value_metadata& datatools::configuration::parameter_model::grab_enumerated_string_value_metadata ( const std::string &  value_)

Return the metadata associated to an enumerated string value.

◆ has_default_value()

bool datatools::configuration::parameter_model::has_default_value ( ) const

Check default value.

◆ has_documentation()

bool datatools::configuration::parameter_model::has_documentation ( ) const

Check if the documentation is empty.

◆ has_enumerated_integer_value()

bool datatools::configuration::parameter_model::has_enumerated_integer_value ( const int  value_) const

Check enumerated integer value.

◆ has_enumerated_real_value()

bool datatools::configuration::parameter_model::has_enumerated_real_value ( const double  value_) const

Check enumerated real value.

◆ has_enumerated_string_value()

bool datatools::configuration::parameter_model::has_enumerated_string_value ( const std::string &  value_) const

Check enumerated string value.

◆ has_fixed_value()

bool datatools::configuration::parameter_model::has_fixed_value ( ) const

Check fixed value.

◆ has_group()

bool datatools::configuration::parameter_model::has_group ( const std::string &  group_name_) const

Check if a group exists.

◆ has_groups()

bool datatools::configuration::parameter_model::has_groups ( ) const

Check if groups are defines.

◆ has_integer_domain()

bool datatools::configuration::parameter_model::has_integer_domain ( ) const

Check the integer domain.

◆ has_mutability()

bool datatools::configuration::parameter_model::has_mutability ( ) const

Check mutability.

◆ has_path_io()

bool datatools::configuration::parameter_model::has_path_io ( ) const

Check if path I/O mode is defined.

◆ has_real_domain()

bool datatools::configuration::parameter_model::has_real_domain ( ) const

Check the real domain.

◆ has_real_precision()

bool datatools::configuration::parameter_model::has_real_precision ( ) const

Check the real precision.

◆ has_real_preferred_unit()

bool datatools::configuration::parameter_model::has_real_preferred_unit ( ) const

Check the real unit symbol.

◆ has_real_unit_label()

bool datatools::configuration::parameter_model::has_real_unit_label ( ) const

Check the real unit label.

◆ has_type()

bool datatools::configuration::parameter_model::has_type ( ) const

Check if type is defined.

◆ has_variable_mode()

bool datatools::configuration::parameter_model::has_variable_mode ( ) const

Check if variable mode is defined.

◆ has_variant()

bool datatools::configuration::parameter_model::has_variant ( const std::string &  variant_name_) const

Check if a variant exists.

◆ init_ocd()

static void datatools::configuration::parameter_model::init_ocd ( datatools::object_configuration_description )
static

OCD support.

◆ initialize()

void datatools::configuration::parameter_model::initialize ( const properties setup_,
model_item_dict_type items_ 
)

Initialization from properties and a dictionary of configuration items.

◆ initialize_simple()

void datatools::configuration::parameter_model::initialize_simple ( )

Bare initialization.

◆ initialize_standalone()

void datatools::configuration::parameter_model::initialize_standalone ( const properties )

Initialization from properties only.

◆ is_boolean()

bool datatools::configuration::parameter_model::is_boolean ( ) const

Check boolean type.

◆ is_boolean_valid()

bool datatools::configuration::parameter_model::is_boolean_valid ( const bool  ) const

Check if a boolean value is valid.

◆ is_enumeration()

bool datatools::configuration::parameter_model::is_enumeration ( ) const

Check enumeration mode.

◆ is_fixed()

bool datatools::configuration::parameter_model::is_fixed ( ) const

Check fixed trait.

◆ is_free()

bool datatools::configuration::parameter_model::is_free ( ) const

Check free mode.

◆ is_initialized()

bool datatools::configuration::parameter_model::is_initialized ( ) const

Check initialization status.

◆ is_integer()

bool datatools::configuration::parameter_model::is_integer ( ) const

Check integer type.

◆ is_integer_valid()

bool datatools::configuration::parameter_model::is_integer_valid ( const int  ) const

Check if an integer value is valid.

◆ is_interval()

bool datatools::configuration::parameter_model::is_interval ( ) const

Check interval mode.

◆ is_name_valid()

virtual bool datatools::configuration::parameter_model::is_name_valid ( const std::string &  name_) const
virtual

Check if a name is valid.

Reimplemented from datatools::enriched_base.

◆ is_path()

bool datatools::configuration::parameter_model::is_path ( ) const

Check path string.

◆ is_path_input()

bool datatools::configuration::parameter_model::is_path_input ( ) const

Check path input flag.

◆ is_path_input_output()

bool datatools::configuration::parameter_model::is_path_input_output ( ) const

Check path output flag.

◆ is_path_output()

bool datatools::configuration::parameter_model::is_path_output ( ) const

Check path output flag.

◆ is_real()

bool datatools::configuration::parameter_model::is_real ( ) const

Check real type.

◆ is_real_valid()

bool datatools::configuration::parameter_model::is_real_valid ( const double  ) const

Check if a real value is valid.

◆ is_string()

bool datatools::configuration::parameter_model::is_string ( ) const

Check string type.

◆ is_string_valid()

bool datatools::configuration::parameter_model::is_string_valid ( const std::string &  ) const

Check if a string value is valid.

◆ is_variable()

bool datatools::configuration::parameter_model::is_variable ( ) const

Check mutability trait.

◆ label_from_mutability()

static std::string datatools::configuration::parameter_model::label_from_mutability ( const  mutability_type)
static

Return the label associated to the mutability.

◆ label_from_path_io()

static std::string datatools::configuration::parameter_model::label_from_path_io ( const  path_io_type)
static

Return the label associated to a path I/O mode.

◆ label_from_variable_mode()

static std::string datatools::configuration::parameter_model::label_from_variable_mode ( const  variable_mode_type)
static

Return the label associated to a variable mode.

◆ mutability_from_label()

static mutability_type datatools::configuration::parameter_model::mutability_from_label ( const std::string &  )
static

Return the mutability associated to the mutability label.

◆ path_io_from_label()

static path_io_type datatools::configuration::parameter_model::path_io_from_label ( const std::string &  )
static

Return the path I/O mode associated to a label.

◆ print_rst()

void datatools::configuration::parameter_model::print_rst ( std::ostream &  out_,
const std::string &  indent_ = "",
const uint32_t  flags_ = 0 
) const

Print in ReST format.

◆ remove_variant()

void datatools::configuration::parameter_model::remove_variant ( const std::string &  variant_name_)

Remove a variant.

◆ reset()

void datatools::configuration::parameter_model::reset ( )

Reset.

◆ reset_default_value()

void datatools::configuration::parameter_model::reset_default_value ( )

Reset the default value.

◆ reset_path()

void datatools::configuration::parameter_model::reset_path ( )

Reset the path flag.

◆ reset_real_precision()

void datatools::configuration::parameter_model::reset_real_precision ( )

Reset the real precision.

◆ set()

void datatools::configuration::parameter_model::set ( const basic_type  type_,
const variable_mode_type  variable_mode_ 
)

Set the type and variable mode of the parameter.

◆ set_default_boolean()

void datatools::configuration::parameter_model::set_default_boolean ( const bool  value_)

Set default boolean value.

◆ set_default_integer()

void datatools::configuration::parameter_model::set_default_integer ( const int  value_)

Set default integer value.

◆ set_default_real()

void datatools::configuration::parameter_model::set_default_real ( const double  value_)

Set default real value.

◆ set_default_string()

void datatools::configuration::parameter_model::set_default_string ( const std::string &  value_)

Set default string value.

◆ set_documentation()

void datatools::configuration::parameter_model::set_documentation ( const std::string &  documentation_)

Set the documentation.

◆ set_enumerated_boolean_value_metadata()

void datatools::configuration::parameter_model::set_enumerated_boolean_value_metadata ( const bool  value_,
const boolean_enum_value_metadata metadata_ 
)

Set the metadata associated to a boolean value.

◆ set_fixed_boolean()

void datatools::configuration::parameter_model::set_fixed_boolean ( const bool  value_)

Set fixed boolean value.

◆ set_fixed_integer()

void datatools::configuration::parameter_model::set_fixed_integer ( const int  value_)

Set fixed integer value.

◆ set_fixed_real()

void datatools::configuration::parameter_model::set_fixed_real ( const double  value_)

Set fixed real value.

◆ set_fixed_string()

void datatools::configuration::parameter_model::set_fixed_string ( const std::string &  value_)

Set fixed string value.

◆ set_integer_domain()

void datatools::configuration::parameter_model::set_integer_domain ( const integer_range ir_)

Set integer interval.

◆ set_mutability()

void datatools::configuration::parameter_model::set_mutability ( const mutability_type  mutability_)

Set the mutability trait.

◆ set_path()

void datatools::configuration::parameter_model::set_path ( const bool  is_path_)

Set the path flag.

◆ set_path_io()

void datatools::configuration::parameter_model::set_path_io ( const path_io_type  path_io_)

Set the path I/O.

◆ set_real_domain()

void datatools::configuration::parameter_model::set_real_domain ( const real_range ir_)

◆ set_real_precision()

void datatools::configuration::parameter_model::set_real_precision ( const double  prec_)

Set the real precision.

◆ set_real_preferred_unit()

void datatools::configuration::parameter_model::set_real_preferred_unit ( const std::string &  value_)

Set the unit symbol.

◆ set_real_unit_label()

void datatools::configuration::parameter_model::set_real_unit_label ( const std::string &  unit_label_)

Set the unit label.

◆ set_type()

void datatools::configuration::parameter_model::set_type ( const basic_type  type_)

Set the type of the parameter.

◆ set_variable_mode()

void datatools::configuration::parameter_model::set_variable_mode ( const variable_mode_type  variable_mode_)

Set the mode of the parameter.

◆ tree_dump()

virtual void datatools::configuration::parameter_model::tree_dump ( std::ostream &  out_ = std::clog,
const std::string &  title_ = "",
const std::string &  indent_ = "",
bool  inherit_ = false 
) const
virtual

Smart print.

Reimplemented from datatools::i_tree_dumpable.

◆ variable_mode_from_label()

static variable_mode_type datatools::configuration::parameter_model::variable_mode_from_label ( const std::string &  )
static

Return the variable mode associated to a label.


The documentation for this class was generated from the following file: