|
Data of a single entity instance. More...
#include <RobotAPI/libraries/armem/core/base/EntityInstanceBase.h>
Public Types | |
using | DataT = _DataT |
using | MetadataT = _MetadataT |
Public Member Functions | |
DataT & | data () |
const DataT & | data () const |
template<class AronDtoT > | |
AronDtoT | dataAs () const |
Get the data converted to a generated Aron DTO class. More... | |
EntityInstanceBase () | |
EntityInstanceBase (const MemoryID &id) | |
EntityInstanceBase (int index, const MemoryID &parentID={}) | |
std::string | getKeyString () const |
int & | index () |
int | index () const |
MetadataT & | metadata () |
const MetadataT & | metadata () const |
void | setData (const DataT &data) |
void | setMetadata (const MetadataT &metadata) |
template<class AronDtoT > | |
EntityInstanceBase< AronDtoT, MetadataT > | withDataAs () const |
Public Member Functions inherited from MemoryItem | |
MemoryID & | id () |
const MemoryID & | id () const |
MemoryItem () | |
MemoryItem (const MemoryID &id) | |
MemoryItem (const MemoryItem &other)=default | |
MemoryItem (MemoryItem &&other)=default | |
MemoryItem & | operator= (const MemoryItem &other)=default |
MemoryItem & | operator= (MemoryItem &&other)=default |
Static Public Member Functions | |
static std::string | getLevelName () |
Protected Attributes | |
DataT | _data |
The data. May be nullptr. More... | |
MetadataT | _metadata |
The metadata. More... | |
Protected Attributes inherited from MemoryItem | |
MemoryID | _id |
Additional Inherited Members | |
Protected Member Functions inherited from MemoryItem | |
~MemoryItem () | |
Data of a single entity instance.
Definition at line 80 of file EntityInstanceBase.h.
using DataT = _DataT |
Definition at line 86 of file EntityInstanceBase.h.
using MetadataT = _MetadataT |
Definition at line 85 of file EntityInstanceBase.h.
|
inline |
Definition at line 88 of file EntityInstanceBase.h.
|
inlineexplicit |
Definition at line 92 of file EntityInstanceBase.h.
|
inlineexplicit |
Definition at line 97 of file EntityInstanceBase.h.
|
inline |
Definition at line 135 of file EntityInstanceBase.h.
|
inline |
|
inline |
Get the data converted to a generated Aron DTO class.
Definition at line 157 of file EntityInstanceBase.h.
|
inline |
Definition at line 181 of file EntityInstanceBase.h.
|
inlinestatic |
Definition at line 175 of file EntityInstanceBase.h.
|
inline |
|
inline |
Definition at line 109 of file EntityInstanceBase.h.
|
inline |
|
inline |
Definition at line 123 of file EntityInstanceBase.h.
|
inline |
Definition at line 141 of file EntityInstanceBase.h.
|
inline |
Definition at line 147 of file EntityInstanceBase.h.
|
inline |
Definition at line 164 of file EntityInstanceBase.h.
|
protected |
The data. May be nullptr.
Definition at line 192 of file EntityInstanceBase.h.
|
protected |
The metadata.
Definition at line 189 of file EntityInstanceBase.h.