|
Bifrost SDK
Bifrost SDK documentation
|
A property in a Bifrost::Object. More...
#include <Object.h>
Public Member Functions | |
| template<typename T > | |
| Property (Amino::String key, T &&value) | |
Public Attributes | |
| Amino::String | m_key |
| Amino::Any | m_value |
A property in a Bifrost::Object.
A property is a key-value pair, string->any. This class is used by the createObject function. It can be useful to directly construct an object with a set of properties, instead of creating the object and calling setProperty many times.
| Bifrost::Object::Property::Property | ( | Amino::String | key, |
| T && | value | ||
| ) |
| Amino::String Bifrost::Object::Property::m_key |
| Amino::Any Bifrost::Object::Property::m_value |