#include <apivalue.h>
Public Member Functions | |
APIBaseValue (const rtti::TypeInfo &type, const std::string &name) | |
const rtti::TypeInfo & | getRepresentedType () const |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual bool | init (utility::ErrorState &errorState) |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
std::string | mName |
Property: 'Name' name associated with the value. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Protected Member Functions | |
APIBaseValue (const rtti::TypeInfo &type) | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Base class of a value that can be given to or is constructed for an external environment. This value can be copied, moved and serialized from and to JSON.
APIBaseValue | ( | const rtti::TypeInfo & | type, |
const std::string & | name | ||
) |
Required constructor
type | the type of the managed value, for example: RTTI_OF(float) etc. |
name | the name of this api value |
|
protected |
const rtti::TypeInfo& getRepresentedType | ( | ) | const |
std::string mName |
Property: 'Name' name associated with the value.