|
|
Data of a single entity instance. More...
#include <RobotAPI/libraries/armem/core/base/EntityInstanceBase.h>
Inheritance diagram for EntityInstanceBase< _DataT, _MetadataT >: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 83 of file EntityInstanceBase.h.
| using DataT = _DataT |
Definition at line 89 of file EntityInstanceBase.h.
| using MetadataT = _MetadataT |
Definition at line 88 of file EntityInstanceBase.h.
|
inline |
Definition at line 91 of file EntityInstanceBase.h.
|
inlineexplicit |
Definition at line 95 of file EntityInstanceBase.h.
|
inlineexplicit |
Definition at line 100 of file EntityInstanceBase.h.
|
inline |
Definition at line 138 of file EntityInstanceBase.h.
|
inline |
|
inline |
Get the data converted to a generated Aron DTO class.
Definition at line 160 of file EntityInstanceBase.h.
Here is the caller graph for this function:
|
inline |
Definition at line 184 of file EntityInstanceBase.h.
|
inlinestatic |
Definition at line 178 of file EntityInstanceBase.h.
|
inline |
|
inline |
Definition at line 112 of file EntityInstanceBase.h.
|
inline |
|
inline |
Definition at line 126 of file EntityInstanceBase.h.
|
inline |
Definition at line 144 of file EntityInstanceBase.h.
|
inline |
Definition at line 150 of file EntityInstanceBase.h.
|
inline |
Definition at line 167 of file EntityInstanceBase.h.
|
protected |
The data. May be nullptr.
Definition at line 195 of file EntityInstanceBase.h.
|
protected |
The metadata.
Definition at line 192 of file EntityInstanceBase.h.