|
GigaPasjans
|
Represents parameter which can be serializable. Used by IParameter. More...
#include <GameObject.h>

Public Member Functions | |
| virtual int32 | Write (nlohmann::json &target) const =0 |
| Writes text representation of data to JSON object. | |
| virtual int32 | Read (nlohmann::json &target)=0 |
| Parses text representation of data from JSON object. | |
| virtual void | SetDisplayName (const String &name)=0 |
| virtual String | GetName () const =0 |
| Returns parameter name. | |
| virtual String | GetDisplayName () const =0 |
| Returns parameter display name. | |
Represents parameter which can be serializable. Used by IParameter.
|
nodiscardpure virtual |
Returns parameter display name.
Implemented in Phosphorus::IParameter< T >, Phosphorus::IParameter< int32 >, and Phosphorus::IParameter< String >.
|
nodiscardpure virtual |
Returns parameter name.
Implemented in Phosphorus::IParameter< T >, Phosphorus::IParameter< int32 >, and Phosphorus::IParameter< String >.
|
pure virtual |
Parses text representation of data from JSON object.
| target | JSON object |
Implemented in Phosphorus::BaseEnumParameter, and Phosphorus::StringParameter.
|
pure virtual |
Writes text representation of data to JSON object.
| target | JSON object |
Implemented in Phosphorus::BaseEnumParameter, and Phosphorus::StringParameter.