36 #include "EpcDocument.h" 46 gsoap_witsml1_4_1_1::abstract__abstractObject* collection;
54 AbstractObject(gsoap_witsml1_4_1_1::abstract__abstractObject* proxy =
nullptr) : collection(proxy), epcDocument (nullptr), crs(nullptr), updateXml(true) {}
58 gsoap_witsml1_4_1_1::witsml1__cs_USCOREcommonData* newCommonData(
59 const std::string & sourceName,
60 const time_t & dTimCreation,
61 const time_t & dTimLastChange,
62 const std::string & comments);
64 gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation* constructEastingNorthingLocation(
65 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
66 const double & easting,
67 const double & northing,
70 gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation* constructWestingSouthingLocation(
71 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
72 const double & westing,
73 const double & southing,
76 gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation* constructProjectedXProjectedYLocation(
77 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
78 const double & projectedX,
79 const double & projectedY,
85 static const char* SCHEMA_VERSION;
87 virtual const std::string & getTitle()
const = 0;
89 virtual std::string getUuid()
const = 0;
90 virtual time_t getCreation()
const = 0;
91 virtual time_t getLastUpdate()
const = 0;
96 gsoap_witsml1_4_1_1::abstract__abstractObject*
getGsoapProxy() {
return collection;}
102 void serializeIntoStream(std::ostream * stream);
122 virtual std::string getXmlTag()
const = 0;
127 std::string getContentType()
const;
132 std::string getPartNameInEpcDocument()
const;
134 gsoap_resqml2_0_1::eml__DataObjectReference* newResqmlReference()
const;
143 virtual std::vector<epc::Relationship> getAllEpcRelationships()
const;
153 std::string serializeIntoString();
Definition: EpcDocument.h:142
AbstractObject(gsoap_witsml1_4_1_1::abstract__abstractObject *proxy=nullptr)
Indicate wether methods update the XML (Gsoap) or only the C++ classes of the API.
Definition: AbstractObject.h:54
Definition: AbstractObject.h:43
gsoap_witsml1_4_1_1::abstract__abstractObject * getGsoapProxy()
Definition: AbstractObject.h:96
void addGsoapProxy(resqml2::AbstractObject *proxy)
Definition: EpcDocument.cpp:419
Definition: EpcDocument.h:155
int getGsoapType() const
Definition: AbstractObject.h:107
virtual std::string getXmlNamespace() const
Definition: AbstractObject.h:117
common::EpcDocument * getEpcDocument() const
Definition: AbstractObject.h:112
Definition: CoordinateReferenceSystem.h:40