|
Thrive
|
A list of StorageContainers. More...
#include <serialization.h>
Public Member Functions | |
| StorageList () | |
| Constructor. | |
| StorageList (const StorageList &other) | |
| Copy Constructor. More... | |
| StorageList (StorageList &&other) | |
| Move constructor. More... | |
| StorageList & | operator= (const StorageList &other) |
| Copy assignment. More... | |
| StorageList & | operator= (StorageList &&other) |
| Move assignment. More... | |
| void | append (StorageContainer element) |
| Appends a StorageContainer to this list. More... | |
| StorageContainer & | get (size_t index) |
| Retrieves an element by index. More... | |
Static Public Member Functions | |
| static luabind::scope | luaBindings () |
| Lua bindings. More... | |
A list of StorageContainers.
| thrive::StorageList::StorageList | ( | const StorageList & | other | ) |
Copy Constructor.
| other |
| thrive::StorageList::StorageList | ( | StorageList && | other | ) |
Move constructor.
| other |
| void thrive::StorageList::append | ( | StorageContainer | element | ) |
Appends a StorageContainer to this list.
| element | The container to append |
| StorageContainer& thrive::StorageList::get | ( | size_t | index | ) |
Retrieves an element by index.
| index | The index to retrieve |
| std::out_of_range | if index is out of range |
|
static |
| StorageList& thrive::StorageList::operator= | ( | const StorageList & | other | ) |
Copy assignment.
| other |
| StorageList& thrive::StorageList::operator= | ( | StorageList && | other | ) |
Move assignment.
| other |
1.8.10