OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GraphicsCopyInformation.h
Go to the documentation of this file.
1
4// ###########################################################################################################################################################################################################################################################################################################################
5
6#pragma once
7
8// OpenTwin header
9#include "OTCore/Point2D.h"
10#include "OTCore/CoreTypes.h"
14
15// std header
16#include <list>
17
18namespace ot {
19
21 public:
25 virtual ~GraphicsCopyInformation() = default;
26
27 GraphicsCopyInformation& operator = (const GraphicsCopyInformation&) = default;
29
30 static std::string getGraphicsCopyInformationType(void) { return "GraphicsCopy"; };
31 virtual std::string getCopyType(void) const override { return GraphicsCopyInformation::getGraphicsCopyInformationType(); };
32
33 static int getGraphicsCopyInformationVersion(void) { return 1; };
34 virtual int getCopyVersion(void) const override { return GraphicsCopyInformation::getGraphicsCopyInformationVersion(); };
35
36 virtual void addToJsonObject(ot::JsonValue & _object, ot::JsonAllocator & _allocator) const override;
37 virtual void setFromJsonObject(const ot::ConstJsonObject& _object) override;
38 };
39
40}
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
Definition CopyInformation.h:19
Definition GraphicsCopyInformation.h:20
GraphicsCopyInformation(const GraphicsCopyInformation &)=default
virtual std::string getCopyType(void) const override
Definition GraphicsCopyInformation.h:31
GraphicsCopyInformation(GraphicsCopyInformation &&)=default
static int getGraphicsCopyInformationVersion(void)
Definition GraphicsCopyInformation.h:33
virtual ~GraphicsCopyInformation()=default
virtual int getCopyVersion(void) const override
Definition GraphicsCopyInformation.h:34
static std::string getGraphicsCopyInformationType(void)
Definition GraphicsCopyInformation.h:30
Definition Connector.h:8
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30