#include <apivalue.h>
Public Member Functions | |
| APIBaseValue (const rtti::TypeInfo &type, const std::string &name) | |
| const rtti::TypeInfo & | getRepresentedType () const |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| 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... | |
Public Attributes inherited from Object | |
| 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 Public Member Functions inherited from Object | |
| 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.