21 #include "common/EpcDocument.h" 31 gsoap_witsml1_4_1_1::abstract__abstractObject* collection;
39 AbstractObject(gsoap_witsml1_4_1_1::abstract__abstractObject* proxy =
nullptr) : collection(proxy), epcDocument (nullptr), crs(nullptr), updateXml(true) {}
43 gsoap_witsml1_4_1_1::witsml1__cs_USCOREcommonData* newCommonData(
44 const std::string & sourceName,
45 const time_t & dTimCreation,
46 const time_t & dTimLastChange,
47 const std::string & comments);
49 gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation* constructEastingNorthingLocation(
50 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
51 const double & easting,
52 const double & northing,
55 gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation* constructWestingSouthingLocation(
56 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
57 const double & westing,
58 const double & southing,
61 gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation* constructProjectedXProjectedYLocation(
62 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
63 const double & projectedX,
64 const double & projectedY,
70 static const char* SCHEMA_VERSION;
72 virtual const std::string & getTitle()
const = 0;
74 virtual std::string getUuid()
const = 0;
75 virtual time_t getCreation()
const = 0;
76 virtual time_t getLastUpdate()
const = 0;
81 gsoap_witsml1_4_1_1::abstract__abstractObject*
getGsoapProxy() {
return collection;}
87 void serializeIntoStream(std::ostream * stream);
107 virtual std::string getXmlTag()
const = 0;
112 std::string getContentType()
const;
117 std::string getPartNameInEpcDocument()
const;
119 gsoap_resqml2_0_1::eml20__DataObjectReference* newResqmlReference()
const;
128 virtual std::vector<epc::Relationship> getAllEpcRelationships()
const;
138 std::string serializeIntoString();
gsoap_witsml1_4_1_1::abstract__abstractObject * getGsoapProxy()
Definition: AbstractObject.h:81
virtual std::string getXmlNamespace() const
Definition: AbstractObject.h:102
int getGsoapType() const
Definition: AbstractObject.h:92
void addGsoapProxy(COMMON_NS::AbstractObject *proxy)
Definition: EpcDocument.cpp:529
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:39
Definition: EpcDocument.h:130
Definition: EpcDocument.h:154
Definition: AbstractObject.h:28
Definition: CoordinateReferenceSystem.h:27
COMMON_NS::EpcDocument * getEpcDocument() const
Definition: AbstractObject.h:97