#include "GraphicsCopyInformation.h"
Public Member Functions | |
GraphicsCopyInformation ()=default | |
GraphicsCopyInformation (const GraphicsCopyInformation &)=default | |
GraphicsCopyInformation (GraphicsCopyInformation &&)=default | |
virtual | ~GraphicsCopyInformation ()=default |
GraphicsCopyInformation & | operator= (const GraphicsCopyInformation &)=default |
GraphicsCopyInformation & | operator= (GraphicsCopyInformation &&)=default |
virtual std::string | getCopyType (void) const override |
virtual int | getCopyVersion (void) const override |
virtual void | addToJsonObject (ot::JsonValue &_object, ot::JsonAllocator &_allocator) const override |
Add the object contents to the provided JSON object. | |
virtual void | setFromJsonObject (const ot::ConstJsonObject &_object) override |
Set the object contents from the provided JSON object. | |
![]() | |
CopyInformation () | |
CopyInformation (const CopyInformation &)=default | |
CopyInformation (CopyInformation &&)=default | |
virtual | ~CopyInformation ()=default |
CopyInformation & | operator= (const CopyInformation &)=default |
CopyInformation & | operator= (CopyInformation &&)=default |
void | setProjectName (const std::string &_projectName) |
const std::string & | getProjectName (void) const |
void | setViewName (const std::string &_name) |
const std::string & | getViewName (void) const |
void | setViewOwner (const BasicServiceInformation &_owner) |
const BasicServiceInformation & | getViewOwner (void) const |
void | addEntity (UID _uid, const std::string &_name, const std::string &_rawData=std::string()) |
void | addEntity (const CopyEntityInformation &_entityInfo) |
void | setEntities (const std::list< CopyEntityInformation > &_entities) |
std::list< CopyEntityInformation > & | getEntities (void) |
const std::list< CopyEntityInformation > & | getEntities (void) const |
void | setScenePos (const Point2DD &_pos) |
const Point2DD & | getScenePos (void) const |
bool | getScenePosSet (void) const |
virtual bool | isValid (void) const |
![]() | |
Serializable () | |
virtual | ~Serializable () |
Static Public Member Functions | |
static std::string | getGraphicsCopyInformationType (void) |
static int | getGraphicsCopyInformationVersion (void) |
![]() | |
static std::string | getCopyTypeJsonKey (void) |
static std::string | getCopyVersionJsonKey (void) |
|
default |
|
default |
|
default |
|
virtualdefault |
|
overridevirtual |
Add the object contents to the provided JSON object.
_object | Json object reference to write the data to. |
_allocator | Allocator. |
Reimplemented from ot::CopyInformation.
|
inlineoverridevirtual |
Implements ot::CopyInformation.
|
inlineoverridevirtual |
Implements ot::CopyInformation.
|
inlinestatic |
|
inlinestatic |
|
default |
|
default |
|
overridevirtual |
Set the object contents from the provided JSON object.
_object | The JSON object containing the information. |
May | throw an exception if the provided object is not valid (members missing or invalid types). |
Reimplemented from ot::CopyInformation.