6#include <imtserverapp/CObjectRepresentationControllerCompBase.h>
7#include <imtlic/CFeatureInfo.h>
14class CFeaturePackageRepresentationControllerComp:
public imtserverapp::CObjectRepresentationControllerCompBase
17 typedef imtserverapp::CObjectRepresentationControllerCompBase BaseClass;
19 I_BEGIN_COMPONENT(CFeaturePackageRepresentationControllerComp);
24 virtual bool GetRepresentationFromValue(
const istd::IChangeable& dataModel, QJsonObject& representation,
const iprm::IParamsSet* paramsPtr =
nullptr)
const override;
27 virtual bool IsModelSupported(
const istd::IChangeable& dataModel)
const override;
28 virtual bool GetDataModelFromRepresentation(
const QJsonObject& representation, istd::IChangeable& dataModel)
const override;
29 virtual bool GetRepresentationFromDataModel(
const istd::IChangeable& dataModel, QJsonObject& representation,
const iprm::IParamsSet* paramsPtr =
nullptr)
const override;
32 bool CreateRepresentationModelFromFeatureInfo(
const imtlic::CFeatureInfo& featureInfo, QJsonObject& representationModel, QString& errorMessage)
const;