#include <iUserDataComponent.h>
Inherits igor::iEntityComponent.
◆ iUserDataComponent()
| igor::iUserDataComponent::iUserDataComponent |
( |
| ) |
|
◆ createInstance()
creates instance of this component type
◆ getData()
◆ getInfo()
| std::vector< iaString > igor::iUserDataComponent::getInfo |
( |
| ) |
const |
|
overridevirtual |
◆ getTypeName()
| const iaString & igor::iUserDataComponent::getTypeName |
( |
| ) |
|
|
static |
- Returns
- type name of component
◆ getValue()
template<typename T >
| T igor::iUserDataComponent::getValue |
( |
const iaString & |
key, |
|
|
const T & |
defaultValue = T() |
|
) |
| const |
|
inline |
- Returns
- value for given key
key "name" is a reserved key. Every item has a name
- Parameters
-
◆ hasValue()
| bool igor::iUserDataComponent::hasValue |
( |
const iaString & |
key | ) |
const |
- Returns
- true if there is a value for given key
◆ setValue()
| void igor::iUserDataComponent::setValue |
( |
const iaString & |
key, |
|
|
const std::any |
value |
|
) |
| |
|
inline |
set value for given key
key "name" is a reserved key. Every item has a name
- Parameters
-
The documentation for this class was generated from the following files: