Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Record for an additional registry. More...
#include <bayeux/datatools/configuration/variant_service.h>
Public Member Functions | |
registry_record () | |
Default constructor. More... | |
int | init_registry (int &max_rank_, const std::string ®istry_rule_) |
Apply a registry rule. More... | |
int | add_dependency (const std::string ®istry_dependency_rule_) |
Apply a registry dependency rule. More... | |
bool | is_valid () const |
Check the validity of the record. More... | |
const std::string & | get_name () const |
Return the name of the registry. More... | |
const std::string & | get_display_name () const |
Return the display name of the registry. More... | |
const std::string & | get_description () const |
Return the description of the registry. More... | |
int | get_rank () const |
Return the rank of the registry. More... | |
const std::string & | get_config_file () const |
Return the config file of the registry. More... | |
const std::vector< std::string > & | get_dependencies () const |
Return the list of dependencies of the registry. More... | |
Public Attributes | |
std::string | _name_ |
Name of the variant registry. More... | |
std::string | _display_name_ |
Display name of the variant registry. More... | |
std::string | _description_ |
Description of the variant registry. More... | |
int | _rank_ |
Rank of the variant registry. More... | |
std::string | _config_file_ |
Configuration file. More... | |
std::vector< std::string > | _dependencies_ |
Dependencies. More... | |
Record for an additional registry.
datatools::configuration::variant_service::registry_record::registry_record | ( | ) |
Default constructor.
int datatools::configuration::variant_service::registry_record::add_dependency | ( | const std::string & | registry_dependency_rule_ | ) |
Apply a registry dependency rule.
const std::string& datatools::configuration::variant_service::registry_record::get_config_file | ( | ) | const |
Return the config file of the registry.
const std::vector<std::string>& datatools::configuration::variant_service::registry_record::get_dependencies | ( | ) | const |
Return the list of dependencies of the registry.
const std::string& datatools::configuration::variant_service::registry_record::get_description | ( | ) | const |
Return the description of the registry.
const std::string& datatools::configuration::variant_service::registry_record::get_display_name | ( | ) | const |
Return the display name of the registry.
const std::string& datatools::configuration::variant_service::registry_record::get_name | ( | ) | const |
Return the name of the registry.
int datatools::configuration::variant_service::registry_record::get_rank | ( | ) | const |
Return the rank of the registry.
int datatools::configuration::variant_service::registry_record::init_registry | ( | int & | max_rank_, |
const std::string & | registry_rule_ | ||
) |
Apply a registry rule.
bool datatools::configuration::variant_service::registry_record::is_valid | ( | ) | const |
Check the validity of the record.
std::string datatools::configuration::variant_service::registry_record::_config_file_ |
Configuration file.
std::vector<std::string> datatools::configuration::variant_service::registry_record::_dependencies_ |
Dependencies.
std::string datatools::configuration::variant_service::registry_record::_description_ |
Description of the variant registry.
std::string datatools::configuration::variant_service::registry_record::_display_name_ |
Display name of the variant registry.
std::string datatools::configuration::variant_service::registry_record::_name_ |
Name of the variant registry.
int datatools::configuration::variant_service::registry_record::_rank_ |
Rank of the variant registry.