21 #include "witsml1_4_1_1/AbstractObject.h" 23 #include "tools/TimeTools.h" 25 #include "resqml2_0_1/WellboreFrameRepresentation.h" 37 const std::string & guid,
38 const std::string & title,
39 gsoap_witsml1_4_1_1::witsml1__LogIndexType indexType,
40 const std::string & indexCurve);
43 const std::string & guid,
44 const std::string & title,
45 gsoap_witsml1_4_1_1::witsml1__LogIndexType indexType,
46 const std::string & indexCurve,
47 const std::string & sourceName,
48 const time_t & dTimCreation,
49 const time_t & dTimLastChange,
50 const std::string & comments);
55 Log(gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs* fromGsoap):
AbstractObject(fromGsoap), wellbore(nullptr), resqmlWellboreFrameRepresentation(nullptr) {}
62 gsoap_witsml1_4_1_1::witsml1__LogIndexType getIndexType();
64 std::string getIndexMnemonic();
66 std::vector<std::string> getMnemonicSet();
68 const std::vector<std::string> & getData()
const;
70 std::string getDataDelimiter()
const;
73 const std::string & description,
74 const std::string & dataDelimiter,
75 const std::string & startEndIncrementUOM,
76 const double & startIndex,
77 const double & endIndex,
78 const double & stepIncrement,
79 gsoap_witsml1_4_1_1::witsml1__LogIndexDirection direction,
81 const std::string & mnemonicList,
82 const std::string & unitList,
83 std::vector<std::string>
const & data);
88 unsigned int getLogCurveCount()
const;
93 std::string getLogCurveMnemonic(
const unsigned int & logCurveIndex)
const;
98 gsoap_witsml1_4_1_1::witsml1__LogDataType getLogCurveDataType(
const unsigned int & logCurveIndex)
const;
104 std::string getLogCurveUom(
const unsigned int & logCurveIndex)
const;
106 void pushBackLogCurveInfo(
const std::string & mnemonic, gsoap_witsml1_4_1_1::witsml1__LogDataType typeLogData);
108 void pushBackLogCurveInfo(
109 const std::string & namingSystem,
110 const std::string & mnemonic,
111 const std::string & classWitsml,
112 const std::string & unit,
114 const int & datumIndex,
115 const std::string & minMaxIndexUOM,
116 const double & minIndex,
117 const double & maxIndex,
118 const std::string & curveDescription,
119 gsoap_witsml1_4_1_1::witsml1__PerLengthUom perLengthUOM,
120 const double & densData,
121 gsoap_witsml1_4_1_1::witsml1__LogTraceOrigin traceOrigin,
122 gsoap_witsml1_4_1_1::witsml1__LogDataType typeLogData);
124 void setWellbore(
class Wellbore* witsmlWellbore);
126 class Wellbore* getWellbore() {
return wellbore;}
130 soap* getGSoapContext()
const {
return collection->soap;}
132 const std::string & getTitle()
const {
return static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs*
>(collection)->log[0]->name;}
134 std::string getUuid()
const {
return *
static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs*
>(collection)->log[0]->uid;}
135 time_t getCreation()
const 137 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__logs*>(collection)->log[0]->commonData->dTimCreation)
138 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__logs*>(collection)->log[0]->commonData->dTimCreation);
142 time_t getLastUpdate()
const 144 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__logs*>(collection)->log[0]->commonData->dTimLastChange)
145 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__logs*>(collection)->log[0]->commonData->dTimLastChange);
150 std::vector<epc::Relationship> getAllEpcRelationships()
const;
157 static const char* XML_TAG;
168 friend void RESQML2_0_1_NS::WellboreFrameRepresentation::setWitsmlLog(
Log * witsmlLogToSet);
~Log()
Definition: Log.h:60
virtual std::string getXmlTag() const
Definition: Log.h:158
Definition: EpcDocument.h:130
Definition: EpcDocument.h:154
Definition: WellboreFrameRepresentation.h:31
Definition: AbstractObject.h:28
Log(gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs *fromGsoap)
Definition: Log.h:55
Definition: Wellbore.h:33