Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
An object that describes the way an objet of a given class can be configured from properties. More...
#include <bayeux/datatools/object_configuration_description.h>
Classes | |
struct | dependency_entry |
Description of a dependency. More... | |
Public Types | |
enum | dependency_type { DEP_UNDEFINED = 0, DEP_DYNAMIC = 1, DEP_BY_FLAG = 2, DEP_BY_LABEL = 3 } |
Dependency type. More... | |
Static Public Attributes | |
static const bool | SCALAR = false |
static const bool | ARRAY = true |
static const bool | IMPLICIT_UNIT = false |
static const bool | EXPLICIT_UNIT = true |
static const bool | MUTABLE = false |
static const bool | CONST = true |
Friends | |
class | object_configuration_description |
An object that describes the way an objet of a given class can be configured from properties.
Dependency type.
datatools::configuration_property_description::configuration_property_description | ( | ) |
Default constructor.
configuration_property_description& datatools::configuration_property_description::add_example | ( | const std::string & | example_ | ) |
void datatools::configuration_property_description::dump | ( | std::ostream & | out_ = std::clog , |
const std::string & | title_ = "" , |
||
const std::string & | indent_ = "" |
||
) | const |
Raw print.
int datatools::configuration_property_description::get_array_fixed_size | ( | ) | const |
int datatools::configuration_property_description::get_default_array_size | ( | ) | const |
bool datatools::configuration_property_description::get_default_value_boolean | ( | ) | const |
int datatools::configuration_property_description::get_default_value_integer | ( | ) | const |
double datatools::configuration_property_description::get_default_value_real | ( | ) | const |
const std::string& datatools::configuration_property_description::get_default_value_real_unit | ( | ) | const |
const std::string& datatools::configuration_property_description::get_default_value_string | ( | ) | const |
const std::string& datatools::configuration_property_description::get_deprecated_info | ( | ) | const |
const dependency_entry& datatools::configuration_property_description::get_dynamic_dependee | ( | ) | const |
const dependency_entry& datatools::configuration_property_description::get_dynamic_depender | ( | int | i_ | ) | const |
const std::string& datatools::configuration_property_description::get_example | ( | int | ) | const |
const std::string& datatools::configuration_property_description::get_from | ( | ) | const |
const std::string& datatools::configuration_property_description::get_group | ( | ) | const |
const std::string& datatools::configuration_property_description::get_long_description | ( | ) | const |
const std::string& datatools::configuration_property_description::get_name_pattern | ( | ) | const |
unsigned int datatools::configuration_property_description::get_number_of_dynamic_dependers | ( | ) | const |
unsigned int datatools::configuration_property_description::get_number_of_examples | ( | ) | const |
unsigned int datatools::configuration_property_description::get_number_of_triggered_dependers | ( | ) | const |
const std::string& datatools::configuration_property_description::get_section | ( | ) | const |
const std::string& datatools::configuration_property_description::get_terse_description | ( | ) | const |
const dependency_entry& datatools::configuration_property_description::get_triggered_by_flag | ( | ) | const |
const dependency_entry& datatools::configuration_property_description::get_triggered_by_label | ( | ) | const |
const dependency_entry& datatools::configuration_property_description::get_triggered_depender | ( | int | i_ | ) | const |
int datatools::configuration_property_description::get_type | ( | ) | const |
const std::string& datatools::configuration_property_description::get_unit_label | ( | ) | const |
const std::string& datatools::configuration_property_description::get_unit_symbol | ( | ) | const |
bool datatools::configuration_property_description::has_complex_dependencies | ( | ) | const |
bool datatools::configuration_property_description::has_complex_triggering_conditions | ( | ) | const |
bool datatools::configuration_property_description::has_default_array_size | ( | ) | const |
bool datatools::configuration_property_description::has_default_value | ( | ) | const |
bool datatools::configuration_property_description::has_dynamic_dependers | ( | ) | const |
bool datatools::configuration_property_description::has_explicit_unit | ( | ) | const |
bool datatools::configuration_property_description::has_long_description | ( | ) | const |
bool datatools::configuration_property_description::has_section | ( | ) | const |
bool datatools::configuration_property_description::has_single_type | ( | ) | const |
bool datatools::configuration_property_description::has_terse_description | ( | ) | const |
bool datatools::configuration_property_description::has_type | ( | ) | const |
bool datatools::configuration_property_description::has_unit_label | ( | ) | const |
bool datatools::configuration_property_description::has_unit_symbol | ( | ) | const |
bool datatools::configuration_property_description::is_array | ( | ) | const |
bool datatools::configuration_property_description::is_boolean | ( | ) | const |
bool datatools::configuration_property_description::is_const | ( | ) | const |
bool datatools::configuration_property_description::is_deprecated | ( | ) | const |
bool datatools::configuration_property_description::is_dynamic | ( | ) | const |
bool datatools::configuration_property_description::is_fixed_sized_array | ( | ) | const |
bool datatools::configuration_property_description::is_integer | ( | ) | const |
bool datatools::configuration_property_description::is_mandatory | ( | ) | const |
bool datatools::configuration_property_description::is_mutable | ( | ) | const |
bool datatools::configuration_property_description::is_path | ( | ) | const |
bool datatools::configuration_property_description::is_real | ( | ) | const |
bool datatools::configuration_property_description::is_scalar | ( | ) | const |
bool datatools::configuration_property_description::is_static | ( | ) | const |
bool datatools::configuration_property_description::is_string | ( | ) | const |
bool datatools::configuration_property_description::is_trigger | ( | ) | const |
bool datatools::configuration_property_description::is_triggered_by_flag | ( | ) | const |
bool datatools::configuration_property_description::is_triggered_by_label | ( | ) | const |
bool datatools::configuration_property_description::is_valid | ( | ) | const |
void datatools::configuration_property_description::print | ( | std::ostream & | out_, |
const std::string & | indent_ = "" |
||
) | const |
configuration_property_description& datatools::configuration_property_description::set_complex_dependencies | ( | bool | = true | ) |
configuration_property_description& datatools::configuration_property_description::set_complex_triggering_conditions | ( | bool | = true | ) |
configuration_property_description& datatools::configuration_property_description::set_const | ( | bool | = true | ) |
configuration_property_description& datatools::configuration_property_description::set_default_array_size | ( | int | ) |
configuration_property_description& datatools::configuration_property_description::set_default_value_boolean | ( | bool | ) |
configuration_property_description& datatools::configuration_property_description::set_default_value_integer | ( | int | ) |
configuration_property_description& datatools::configuration_property_description::set_default_value_real | ( | double | , |
const std::string & | unit_symbol_ = "" |
||
) |
configuration_property_description& datatools::configuration_property_description::set_default_value_string | ( | const std::string & | ) |
configuration_property_description& datatools::configuration_property_description::set_deprecated | ( | bool | , |
const std::string & | info_ = "" |
||
) |
configuration_property_description& datatools::configuration_property_description::set_explicit_unit | ( | bool | = true | ) |
configuration_property_description& datatools::configuration_property_description::set_from | ( | const std::string & | from_ | ) |
configuration_property_description& datatools::configuration_property_description::set_group | ( | const std::string & | group_ | ) |
configuration_property_description& datatools::configuration_property_description::set_long_description | ( | const std::string & | desc_ | ) |
configuration_property_description& datatools::configuration_property_description::set_mandatory | ( | bool | m_ = true | ) |
configuration_property_description& datatools::configuration_property_description::set_name_pattern | ( | const std::string & | np_ | ) |
configuration_property_description& datatools::configuration_property_description::set_path | ( | bool | = true | ) |
configuration_property_description& datatools::configuration_property_description::set_section | ( | const std::string & | section_name_ | ) |
configuration_property_description& datatools::configuration_property_description::set_terse_description | ( | const std::string & | desc_ | ) |
configuration_property_description& datatools::configuration_property_description::set_traits | ( | int | type_, |
bool | array_ = false , |
||
int | fixed_size_ = -1 |
||
) |
configuration_property_description& datatools::configuration_property_description::set_triggered_by_flag | ( | const std::string & | prop_name_, |
bool | triggering_status_ = true |
||
) |
configuration_property_description& datatools::configuration_property_description::set_triggered_by_label | ( | const std::string & | prop_name_, |
const std::string & | labels_ | ||
) |
configuration_property_description& datatools::configuration_property_description::set_unit_label | ( | const std::string & | ) |
configuration_property_description& datatools::configuration_property_description::set_unit_symbol | ( | const std::string & | ) |
|
friend |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |