Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Friends | List of all members
datatools::configuration::variant_repository::registry_entry Struct Reference

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_repositoryget_parent_repository () const
 Return the handle to the parent repository. More...
 
const variant_registryget_registry () const
 Return the handle to the registry. More...
 
variant_registrygrab_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
 

Detailed Description

Entry that hosts a variant registry.

Constructor & Destructor Documentation

◆ registry_entry()

datatools::configuration::variant_repository::registry_entry::registry_entry ( variant_repository )

Constructor.

◆ ~registry_entry()

datatools::configuration::variant_repository::registry_entry::~registry_entry ( )

Destructor.

Member Function Documentation

◆ get_name()

const std::string& datatools::configuration::variant_repository::registry_entry::get_name ( ) const

Return the registry name.

◆ get_parent_repository()

const variant_repository& datatools::configuration::variant_repository::registry_entry::get_parent_repository ( ) const

Return the handle to the parent repository.

◆ get_rank()

int datatools::configuration::variant_repository::registry_entry::get_rank ( ) const

Get the rank of the registry.

◆ get_registry()

const variant_registry& datatools::configuration::variant_repository::registry_entry::get_registry ( ) const

Return the handle to the registry.

◆ grab_registry()

variant_registry& datatools::configuration::variant_repository::registry_entry::grab_registry ( )

Return the mutable handle to the registry.

◆ has_rank()

bool datatools::configuration::variant_repository::registry_entry::has_rank ( ) const

Check if rank is set.

◆ is_embedded()

bool datatools::configuration::variant_repository::registry_entry::is_embedded ( ) const

Check if the registry is embedded.

◆ is_external()

bool datatools::configuration::variant_repository::registry_entry::is_external ( ) const

Check if the registry is external.

◆ is_sealed()

bool datatools::configuration::variant_repository::registry_entry::is_sealed ( ) const

Check if registry is sealed (non mutable)

◆ is_valid()

bool datatools::configuration::variant_repository::registry_entry::is_valid ( ) const

Check if the entry is valid.

◆ reset()

void datatools::configuration::variant_repository::registry_entry::reset ( )

Reset.

◆ reset_external_registry()

void datatools::configuration::variant_repository::registry_entry::reset_external_registry ( )

Reset the external registry.

◆ seal()

void datatools::configuration::variant_repository::registry_entry::seal ( )

Place seal on the registry.

◆ set_external_registry()

void datatools::configuration::variant_repository::registry_entry::set_external_registry ( variant_registry )

Set the external registry.

◆ set_name()

void datatools::configuration::variant_repository::registry_entry::set_name ( const std::string &  )

Set the registry name.

◆ set_rank()

void datatools::configuration::variant_repository::registry_entry::set_rank ( int  )

Set the rank of the registry.

Friends And Related Function Documentation

◆ variant_repository

friend class variant_repository
friend

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