Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
hebiros::HebirosGroupRegistry Class Reference

#include <hebiros_group_registry.h>

Public Member Functions

void addGroup (const std::string &name, std::unique_ptr< HebirosGroup > group)
 
HebirosGroupgetGroup (const std::string &name)
 
const HebirosGroupgetGroup (const std::string &name) const
 
bool hasGroup (const std::string &name) const
 
void removeGroup (const std::string &name)
 

Static Public Member Functions

static HebirosGroupRegistryInstance ()
 

Private Member Functions

 HebirosGroupRegistry ()=default
 

Private Attributes

std::map< std::string, std::unique_ptr< HebirosGroup > > _groups {}
 

Static Private Attributes

static HebirosGroupRegistry _instance
 

Detailed Description

Definition at line 8 of file hebiros_group_registry.h.

Constructor & Destructor Documentation

hebiros::HebirosGroupRegistry::HebirosGroupRegistry ( )
privatedefault

Member Function Documentation

void hebiros::HebirosGroupRegistry::addGroup ( const std::string &  name,
std::unique_ptr< HebirosGroup group 
)

Definition at line 12 of file hebiros_group_registry.cpp.

HebirosGroup * hebiros::HebirosGroupRegistry::getGroup ( const std::string &  name)

Definition at line 16 of file hebiros_group_registry.cpp.

const HebirosGroup * hebiros::HebirosGroupRegistry::getGroup ( const std::string &  name) const

Definition at line 22 of file hebiros_group_registry.cpp.

bool hebiros::HebirosGroupRegistry::hasGroup ( const std::string &  name) const

Definition at line 32 of file hebiros_group_registry.cpp.

HebirosGroupRegistry & hebiros::HebirosGroupRegistry::Instance ( )
static

Definition at line 6 of file hebiros_group_registry.cpp.

void hebiros::HebirosGroupRegistry::removeGroup ( const std::string &  name)

Definition at line 28 of file hebiros_group_registry.cpp.

Member Data Documentation

std::map<std::string, std::unique_ptr<HebirosGroup> > hebiros::HebirosGroupRegistry::_groups {}
private

Definition at line 32 of file hebiros_group_registry.h.

HebirosGroupRegistry hebiros::HebirosGroupRegistry::_instance
staticprivate

Definition at line 34 of file hebiros_group_registry.h.


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


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:11:00