6#include <istd/IChangeable.h>
7#include <iprm/IParamsSet.h>
10#include <QtCore/QJsonObject>
17class IRepresentationController:
virtual public istd::IPolymorphic
20 virtual QByteArray GetModelId()
const = 0;
21 virtual bool IsModelSupported(
const istd::IChangeable& dataModel)
const = 0;
22 virtual bool GetRepresentationFromDataModel(
23 const istd::IChangeable& dataModel,
24 QJsonObject& representation,
25 const iprm::IParamsSet* paramsPtr =
nullptr)
const = 0;
26 virtual bool GetDataModelFromRepresentation(
27 const QJsonObject& representation,
28 istd::IChangeable& dataModel)
const = 0;