Bifrost SDK
Bifrost SDK documentation
Bifrost::Object::Property Struct Reference

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
 

Detailed Description

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.

Definition at line 87 of file Object.h.

Constructor & Destructor Documentation

◆ Property()

template<typename T >
Bifrost::Object::Property::Property ( Amino::String  key,
T &&  value 
)

Member Data Documentation

◆ m_key

Amino::String Bifrost::Object::Property::m_key

Definition at line 91 of file Object.h.

◆ m_value

Amino::Any Bifrost::Object::Property::m_value

Definition at line 92 of file Object.h.