|
Nebula
|
#include <attribute.h>
Inherited by Game::ComponentInterface.
Public Member Functions | |
| template<typename T> | |
| Attribute (Util::StringAtom name, T const &defaultValue, uint32_t flags) | |
| construct from template type, with default value. | |
| Attribute (Util::StringAtom name, SizeT typeSizeBytes, void const *defaultValue, uint32_t flags) | |
| construct from type size in bytes, with default value from void*. | |
| Attribute ()=default | |
| default constructor | |
| Attribute (Attribute &&desc) noexcept | |
| move constructor | |
| ~Attribute () | |
| desctructor | |
| void | operator= (Attribute &&rhs) noexcept |
| move assignment operator | |
| void | operator= (Attribute &rhs) |
| assignment operator | |
Public Attributes | |
| Util::StringAtom | name |
| name of attribute | |
| SizeT | typeSize = 0 |
| size of type in bytes | |
| void * | defVal = nullptr |
| default value | |
| uint32_t | externalFlags |
| externally managed flags | |
|
inlineexplicit |
construct from template type, with default value.
|
inlineexplicit |
construct from type size in bytes, with default value from void*.
|
default |
default constructor
|
inlinenoexcept |
move constructor
|
inline |
desctructor
|
inlinenoexcept |
move assignment operator
|
inline |
assignment operator
| void* MemDb::Attribute::defVal = nullptr |
default value
| uint32_t MemDb::Attribute::externalFlags |
externally managed flags
| Util::StringAtom MemDb::Attribute::name |
name of attribute
| SizeT MemDb::Attribute::typeSize = 0 |
size of type in bytes