Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Public Attributes | List of all members
datatools::configuration::variant_service::registry_record Struct Reference

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 &registry_rule_)
 Apply a registry rule. More...
 
int add_dependency (const std::string &registry_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...
 

Detailed Description

Record for an additional registry.

Constructor & Destructor Documentation

◆ registry_record()

datatools::configuration::variant_service::registry_record::registry_record ( )

Default constructor.

Member Function Documentation

◆ add_dependency()

int datatools::configuration::variant_service::registry_record::add_dependency ( const std::string &  registry_dependency_rule_)

Apply a registry dependency rule.

◆ get_config_file()

const std::string& datatools::configuration::variant_service::registry_record::get_config_file ( ) const

Return the config file of the registry.

◆ get_dependencies()

const std::vector<std::string>& datatools::configuration::variant_service::registry_record::get_dependencies ( ) const

Return the list of dependencies of the registry.

◆ get_description()

const std::string& datatools::configuration::variant_service::registry_record::get_description ( ) const

Return the description of the registry.

◆ get_display_name()

const std::string& datatools::configuration::variant_service::registry_record::get_display_name ( ) const

Return the display name of the registry.

◆ get_name()

const std::string& datatools::configuration::variant_service::registry_record::get_name ( ) const

Return the name of the registry.

◆ get_rank()

int datatools::configuration::variant_service::registry_record::get_rank ( ) const

Return the rank of the registry.

◆ init_registry()

int datatools::configuration::variant_service::registry_record::init_registry ( int &  max_rank_,
const std::string &  registry_rule_ 
)

Apply a registry rule.

◆ is_valid()

bool datatools::configuration::variant_service::registry_record::is_valid ( ) const

Check the validity of the record.

Member Data Documentation

◆ _config_file_

std::string datatools::configuration::variant_service::registry_record::_config_file_

Configuration file.

◆ _dependencies_

std::vector<std::string> datatools::configuration::variant_service::registry_record::_dependencies_

Dependencies.

◆ _description_

std::string datatools::configuration::variant_service::registry_record::_description_

Description of the variant registry.

◆ _display_name_

std::string datatools::configuration::variant_service::registry_record::_display_name_

Display name of the variant registry.

◆ _name_

std::string datatools::configuration::variant_service::registry_record::_name_

Name of the variant registry.

◆ _rank_

int datatools::configuration::variant_service::registry_record::_rank_

Rank of the variant registry.


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