Inviwo
0.9.10.1
Inviwo documentation
|
#include <propertyjsonconverter.h>
Public Member Functions | |
virtual std::string | getPropClassIdentifier () const override |
virtual void | toJSON (json &j, const Property &p) const override |
virtual void | fromJSON (const json &j, Property &p) const override |
Convert between JSON and Property. A TemplatePropertyJSONConverter requires implementations of to_json(json& j, const SrcProperty& p) and from_json(const json& j, SrcProperty& p).
|
inlineoverridevirtual |
Converts a JSON object to a Property to a JSON object. Requires that to_json(json& j, const SrcProperty& p) has been implemented.
Implements inviwo::PropertyJSONConverter.
|
inlineoverridevirtual |
Converts a Property to a JSON object. Requires that to_json(json& j, const SrcProperty& p) has been implemented.
Implements inviwo::PropertyJSONConverter.