#include <hebiros_group_registry.h>
Public Member Functions | |
void | addGroup (const std::string &name, std::unique_ptr< HebirosGroup > group) |
HebirosGroup * | getGroup (const std::string &name) |
const HebirosGroup * | getGroup (const std::string &name) const |
bool | hasGroup (const std::string &name) const |
void | removeGroup (const std::string &name) |
Static Public Member Functions | |
static HebirosGroupRegistry & | Instance () |
Private Member Functions | |
HebirosGroupRegistry ()=default | |
Private Attributes | |
std::map< std::string, std::unique_ptr< HebirosGroup > > | _groups {} |
Static Private Attributes | |
static HebirosGroupRegistry | _instance |
Definition at line 8 of file hebiros_group_registry.h.
|
privatedefault |
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.
|
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.
|
private |
Definition at line 32 of file hebiros_group_registry.h.
|
staticprivate |
Definition at line 34 of file hebiros_group_registry.h.