Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::PropertyJSONConverter Class Referenceabstract

#include <propertyjsonconverter.h>

+ Inheritance diagram for inviwo::PropertyJSONConverter:

Public Member Functions

virtual std::string getPropClassIdentifier () const =0
 
virtual void toJSON (json &j, const Property &p) const =0
 
virtual void fromJSON (const json &j, Property &p) const =0
 

Detailed Description

Interface for converting between JSON and Property.

Member Function Documentation

◆ fromJSON()

virtual void inviwo::PropertyJSONConverter::fromJSON ( const json & j,
Property & p ) const
pure virtual

Converts a JSON object to a Property to a JSON object.

Implemented in inviwo::TemplatePropertyJSONConverter< SrcProperty >.

◆ toJSON()

virtual void inviwo::PropertyJSONConverter::toJSON ( json & j,
const Property & p ) const
pure virtual

Converts a Property to a JSON object.

Implemented in inviwo::TemplatePropertyJSONConverter< SrcProperty >.


The documentation for this class was generated from the following file: