21 #include "witsml1_4_1_1/AbstractObject.h" 23 #include "tools/TimeTools.h" 36 const std::string & guid,
37 const std::string & title,
38 const std::string & namingSystem,
39 const std::string & code,
40 const std::string & sourceName,
41 const time_t & dTimCreation,
42 const time_t & dTimLastChange,
43 const std::string & comments
56 soap* getGSoapContext()
const {
return collection->soap;}
58 gsoap_witsml1_4_1_1::witsml1__refNameString* newReference()
const;
60 const std::vector<AbstractObject*>& getObjectsUsingThisCrs()
const {
return objectsUsingThisCrs;}
62 const std::string & getTitle()
const {
return static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREcoordinateReferenceSystems*
>(collection)->coordinateReferenceSystem[0]->name;}
64 std::string getUuid()
const {
return *
static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREcoordinateReferenceSystems*
>(collection)->coordinateReferenceSystem[0]->uid;}
65 time_t getCreation()
const 67 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__coordinateReferenceSystems*>(collection)->coordinateReferenceSystem[0]->commonData->dTimCreation)
68 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__coordinateReferenceSystems*>(collection)->coordinateReferenceSystem[0]->commonData->dTimCreation);
72 time_t getLastUpdate()
const 74 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__coordinateReferenceSystems*>(collection)->coordinateReferenceSystem[0]->commonData->dTimLastChange)
75 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__coordinateReferenceSystems*>(collection)->coordinateReferenceSystem[0]->commonData->dTimLastChange);
80 std::vector<epc::Relationship> getAllEpcRelationships()
const;
88 static const char* XML_TAG;
89 virtual std::string
getXmlTag()
const {
return XML_TAG;}
94 std::vector<AbstractObject*> objectsUsingThisCrs;
CoordinateReferenceSystem(gsoap_witsml1_4_1_1::witsml1__obj_USCOREcoordinateReferenceSystems *fromGsoap)
Definition: CoordinateReferenceSystem.h:49
void importRelationshipSetFromEpc(COMMON_NS::EpcDocument *epcDoc)
Definition: CoordinateReferenceSystem.h:86
virtual std::string getXmlTag() const
Definition: CoordinateReferenceSystem.h:89
Definition: EpcDocument.h:130
Definition: EpcDocument.h:154
~CoordinateReferenceSystem()
Definition: CoordinateReferenceSystem.h:54
Definition: AbstractObject.h:28
Definition: CoordinateReferenceSystem.h:27