71 const std::vector<std::unique_ptr<Entry>> &
GetEntries()
const {
81 std::vector<std::unique_ptr<Entry>> mEntries;
82 std::vector<Group> mGroups;
An object of the registry, which the registry deletes through its virtual destructor.
Definition namedobjectregistry.h:18
virtual ~Object()=default
Release the object.
NamedObjectRegistry()
Construct an empty registry.
void DeleteEntries()
Delete every entry and its object.
const std::vector< std::unique_ptr< Entry > > & GetEntries() const
Definition namedobjectregistry.h:71
static NamedObjectRegistry * Get()
Report the registry, constructing it on first use.
const std::vector< Group > & GetGroups() const
Definition namedobjectregistry.h:76
~NamedObjectRegistry()
Release the groups and the list of entries, without deleting the objects.
Growable text buffer that is also a PrnStream.
Definition string.h:19
void NamedObjectRegistryInit()
Prepare the registry of named objects.
void NamedObjectRegistryTerminate()
Delete every entry of the registry of named objects.
A named object.
Definition namedobjectregistry.h:25
String mName
Definition namedobjectregistry.h:26
std::unique_ptr< Object > mObject
Definition namedobjectregistry.h:27
A named group of objects.
Definition namedobjectregistry.h:31
int mReserved14[2]
Definition namedobjectregistry.h:33
std::vector< Object * > mMembers
Definition namedobjectregistry.h:34
String mName
Definition namedobjectregistry.h:32