Registry of named objects and of named groups of objects.
More...
#include <namedobjectregistry.h>
|
| class | Object |
| | An object of the registry, which the registry deletes through its virtual destructor. More...
|
| struct | Entry |
| | A named object. More...
|
| struct | Group |
| | A named group of objects. More...
|
Registry of named objects and of named groups of objects.
The class is not polymorphic. The name is inferred. The registry is built on first use, and only NamedObjectRegistryTerminate() uses it. No routine of the image adds an entry, and the class of the objects is not yet identified.
◆ NamedObjectRegistry()
| NamedObjectRegistry::NamedObjectRegistry |
( |
| ) |
|
Construct an empty registry.
- Ghidra address:
- NTSC-U/C: 0x0029e778
- Ghidra address:
- PAL: 0x002a8440
◆ ~NamedObjectRegistry()
| NamedObjectRegistry::~NamedObjectRegistry |
( |
| ) |
|
Release the groups and the list of entries, without deleting the objects.
- Ghidra address:
- NTSC-U/C: 0x0029e7a0
- Ghidra address:
- PAL: 0x002a8468
◆ Get()
Report the registry, constructing it on first use.
- Returns
- The registry.
- Ghidra address:
- NTSC-U/C: 0x0029e6f0
- Ghidra address:
- PAL: 0x002a83b8
◆ DeleteEntries()
| void NamedObjectRegistry::DeleteEntries |
( |
| ) |
|
Delete every entry and its object.
- Ghidra address:
- NTSC-U/C: 0x0029e890
- Ghidra address:
- PAL: 0x002a8558
◆ GetEntries()
| const std::vector< std::unique_ptr< Entry > > & NamedObjectRegistry::GetEntries |
( |
| ) |
const |
|
inline |
- Returns
- The named objects.
◆ GetGroups()
| const std::vector< Group > & NamedObjectRegistry::GetGroups |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: