Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
fhicl::NameStackRegistry Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/fhiclcpp/v4_06_10/source/fhiclcpp/types/detail/NameStackRegistry.h"

Public Member Functions

std::string full_key (std::string const &key)
 
bool empty () const
 
std::string current () const
 
void clear ()
 

Static Public Member Functions

static void end_of_ctor ()
 
static NameStackRegistryinstance ()
 

Private Member Functions

 NameStackRegistry ()=default
 

Private Attributes

std::vector< std::stringnames_ {}
 

Detailed Description

Definition at line 48 of file NameStackRegistry.h.

Constructor & Destructor Documentation

fhicl::NameStackRegistry::NameStackRegistry ( )
privatedefault

Referenced by instance().

Member Function Documentation

void fhicl::NameStackRegistry::clear ( )
inline

Definition at line 71 of file NameStackRegistry.h.

References names_.

72  {
73  names_.clear();
74  }
std::vector< std::string > names_
std::string fhicl::NameStackRegistry::current ( ) const
inline

Definition at line 59 of file NameStackRegistry.h.

References names_.

60  {
61  return names_.back();
62  }
std::vector< std::string > names_
bool fhicl::NameStackRegistry::empty ( ) const
inline

Definition at line 53 of file NameStackRegistry.h.

References names_, and string.

54  {
55  return names_.empty();
56  }
std::vector< std::string > names_
static void fhicl::NameStackRegistry::end_of_ctor ( )
inlinestatic

Definition at line 65 of file NameStackRegistry.h.

References instance(), and names_.

Referenced by fhicl::OptionalTuple< TYPES >::OptionalTuple(), and fhicl::Tuple< TYPES >::Tuple().

66  {
67  instance().names_.pop_back();
68  }
static NameStackRegistry & instance()
std::vector< std::string > names_
std::string fhicl::NameStackRegistry::full_key ( std::string const &  key)
static NameStackRegistry& fhicl::NameStackRegistry::instance ( )
inlinestatic

Member Data Documentation

std::vector<std::string> fhicl::NameStackRegistry::names_ {}
private

Definition at line 85 of file NameStackRegistry.h.

Referenced by clear(), current(), empty(), and end_of_ctor().


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