Public Member Functions | |
| DataStore () | |
| Constructor. | |
| ~DataStore () | |
| Deconstructor. | |
| void | init () |
| Initialises the DataStore. | |
| void | clear () |
| Clears the DataStore. | |
| void | refAdd () |
| Increases the reference counter. | |
| void | refRelease () |
| Decreases the reference counter. | |
| bool | addDataStack (DataStack *stack) |
| Adds the given DataStack to the DataStore. | |
| DataStack * | createDataStack (const std::string &name) |
| Creates (and adds) a DataStack with the given name. | |
| DataStack * | getDataStack (const u32 id) |
| Gets the DataStack with the given ID. | |
| DataStack * | getDataStack (const std::string &name) |
| Gets the DataStack with the given name. | |
| void | removeAllDataStacks () |
| Removes all DataStacks from the DataStore. | |
| bool | removeDataStack (DataStack *stack) |
| Removes the given DataStack. | |
| bool | removeDataStack (const u32 id) |
| Removes the given DataStack with the given ID. | |
| bool | removeDataStack (const std::string &name) |
| Removes the given DataStack with the given name. | |
Definition at line 29 of file DataStore.h.
| DataStore::DataStore | ( | ) |
| DataStore::~DataStore | ( | ) |
| bool DataStore::addDataStack | ( | DataStack * | stack | ) |
Adds the given DataStack to the DataStore.
| stack | Pointer to the DataStack to add. |
Definition at line 58 of file DataStore.cpp.
| void DataStore::clear | ( | ) |
| DataStack * DataStore::createDataStack | ( | const std::string & | name | ) |
Creates (and adds) a DataStack with the given name.
| name | Name of the DataStack. |
Definition at line 75 of file DataStore.cpp.
| DataStack * DataStore::getDataStack | ( | const std::string & | name | ) |
Gets the DataStack with the given name.
Definition at line 102 of file DataStore.cpp.
| DataStack * DataStore::getDataStack | ( | const u32 | id | ) |
Gets the DataStack with the given ID.
Definition at line 90 of file DataStore.cpp.
| void DataStore::init | ( | ) |
| void DataStore::refAdd | ( | ) |
Increases the reference counter.
Definition at line 46 of file DataStore.cpp.
| void DataStore::refRelease | ( | ) |
Decreases the reference counter.
Definition at line 52 of file DataStore.cpp.
| void DataStore::removeAllDataStacks | ( | ) |
| bool DataStore::removeDataStack | ( | const std::string & | name | ) |
Removes the given DataStack with the given name.
| name | Name of the DataStack to remove. |
Definition at line 172 of file DataStore.cpp.
| bool DataStore::removeDataStack | ( | const u32 | id | ) |
Removes the given DataStack with the given ID.
| id | ID of the DataStack to remove. |
Definition at line 150 of file DataStore.cpp.
| bool DataStore::removeDataStack | ( | DataStack * | stack | ) |
Removes the given DataStack.
| stack | Pointer to the DataStack to remove. |
Definition at line 124 of file DataStore.cpp.
1.5.8