Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Entry that hosts a variant registry. More...
#include <bayeux/datatools/configuration/variant_repository.h>
Public Member Functions | |
registry_entry (variant_repository &) | |
Constructor. More... | |
~registry_entry () | |
Destructor. More... | |
void | set_name (const std::string &) |
Set the registry name. More... | |
const std::string & | get_name () const |
Return the registry name. More... | |
const variant_repository & | get_parent_repository () const |
Return the handle to the parent repository. More... | |
const variant_registry & | get_registry () const |
Return the handle to the registry. More... | |
variant_registry & | grab_registry () |
Return the mutable handle to the registry. More... | |
void | reset () |
Reset. More... | |
bool | is_external () const |
Check if the registry is external. More... | |
bool | is_embedded () const |
Check if the registry is embedded. More... | |
bool | is_valid () const |
Check if the entry is valid. More... | |
void | set_external_registry (variant_registry &) |
Set the external registry. More... | |
void | reset_external_registry () |
Reset the external registry. More... | |
void | set_rank (int) |
Set the rank of the registry. More... | |
int | get_rank () const |
Get the rank of the registry. More... | |
bool | has_rank () const |
Check if rank is set. More... | |
bool | is_sealed () const |
Check if registry is sealed (non mutable) More... | |
void | seal () |
Place seal on the registry. More... | |
Friends | |
class | variant_repository |
Entry that hosts a variant registry.
datatools::configuration::variant_repository::registry_entry::registry_entry | ( | variant_repository & | ) |
Constructor.
datatools::configuration::variant_repository::registry_entry::~registry_entry | ( | ) |
Destructor.
const std::string& datatools::configuration::variant_repository::registry_entry::get_name | ( | ) | const |
Return the registry name.
const variant_repository& datatools::configuration::variant_repository::registry_entry::get_parent_repository | ( | ) | const |
Return the handle to the parent repository.
int datatools::configuration::variant_repository::registry_entry::get_rank | ( | ) | const |
Get the rank of the registry.
const variant_registry& datatools::configuration::variant_repository::registry_entry::get_registry | ( | ) | const |
Return the handle to the registry.
variant_registry& datatools::configuration::variant_repository::registry_entry::grab_registry | ( | ) |
Return the mutable handle to the registry.
bool datatools::configuration::variant_repository::registry_entry::has_rank | ( | ) | const |
Check if rank is set.
bool datatools::configuration::variant_repository::registry_entry::is_embedded | ( | ) | const |
Check if the registry is embedded.
bool datatools::configuration::variant_repository::registry_entry::is_external | ( | ) | const |
Check if the registry is external.
bool datatools::configuration::variant_repository::registry_entry::is_sealed | ( | ) | const |
Check if registry is sealed (non mutable)
bool datatools::configuration::variant_repository::registry_entry::is_valid | ( | ) | const |
Check if the entry is valid.
void datatools::configuration::variant_repository::registry_entry::reset | ( | ) |
Reset.
void datatools::configuration::variant_repository::registry_entry::reset_external_registry | ( | ) |
Reset the external registry.
void datatools::configuration::variant_repository::registry_entry::seal | ( | ) |
Place seal on the registry.
void datatools::configuration::variant_repository::registry_entry::set_external_registry | ( | variant_registry & | ) |
Set the external registry.
void datatools::configuration::variant_repository::registry_entry::set_name | ( | const std::string & | ) |
Set the registry name.
void datatools::configuration::variant_repository::registry_entry::set_rank | ( | int | ) |
Set the rank of the registry.
|
friend |