36 #include "witsml1_4_1_1/AbstractObject.h" 38 #include "resqml2_0_1/WellboreFrameRepresentation.h" 50 const std::string & guid,
51 const std::string & title,
52 gsoap_witsml1_4_1_1::witsml1__LogIndexType indexType,
53 const std::string & indexCurve);
56 const std::string & guid,
57 const std::string & title,
58 gsoap_witsml1_4_1_1::witsml1__LogIndexType indexType,
59 const std::string & indexCurve,
60 const std::string & sourceName,
61 const time_t & dTimCreation,
62 const time_t & dTimLastChange,
63 const std::string & comments);
68 Log(gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs* fromGsoap):
AbstractObject(fromGsoap), wellbore(nullptr), resqmlWellboreFrameRepresentation(nullptr) {}
75 gsoap_witsml1_4_1_1::witsml1__LogIndexType getIndexType();
77 std::string getIndexMnemonic();
79 std::vector<std::string> getMnemonicSet();
81 const std::vector<std::string> & getData()
const;
83 std::string getDataDelimiter()
const;
86 const std::string & description,
87 const std::string & dataDelimiter,
88 const std::string & startEndIncrementUOM,
89 const double & startIndex,
90 const double & endIndex,
91 const double & stepIncrement,
92 gsoap_witsml1_4_1_1::witsml1__LogIndexDirection direction,
94 const std::string & mnemonicList,
95 const std::string & unitList,
96 std::vector<std::string>
const & data);
101 unsigned int getLogCurveCount()
const;
106 std::string getLogCurveMnemonic(
const unsigned int & logCurveIndex)
const;
111 gsoap_witsml1_4_1_1::witsml1__LogDataType getLogCurveDataType(
const unsigned int & logCurveIndex)
const;
117 std::string getLogCurveUom(
const unsigned int & logCurveIndex)
const;
119 void pushBackLogCurveInfo(
const std::string & mnemonic, gsoap_witsml1_4_1_1::witsml1__LogDataType typeLogData);
121 void pushBackLogCurveInfo(
122 const std::string & namingSystem,
123 const std::string & mnemonic,
124 const std::string & classWitsml,
125 const std::string & unit,
127 const int & datumIndex,
128 const std::string & minMaxIndexUOM,
129 const double & minIndex,
130 const double & maxIndex,
131 const std::string & curveDescription,
132 gsoap_witsml1_4_1_1::witsml1__PerLengthUom perLengthUOM,
133 const double & densData,
134 gsoap_witsml1_4_1_1::witsml1__LogTraceOrigin traceOrigin,
135 gsoap_witsml1_4_1_1::witsml1__LogDataType typeLogData);
137 void setWellbore(
class Wellbore* witsmlWellbore);
139 class Wellbore* getWellbore() {
return wellbore;}
143 soap* getGSoapContext()
const {
return collection->soap;}
145 const std::string & getTitle()
const {
return static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs*
>(collection)->log[0]->name;}
147 std::string getUuid()
const {
return *
static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs*
>(collection)->log[0]->uid;}
148 time_t getCreation()
const 150 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__logs*>(collection)->log[0]->commonData->dTimCreation)
151 return *
static_cast<gsoap_witsml1_4_1_1::_witsml1__logs*
>(collection)->log[0]->commonData->dTimCreation;
155 time_t getLastUpdate()
const 157 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__logs*>(collection)->log[0]->commonData->dTimLastChange)
158 return *
static_cast<gsoap_witsml1_4_1_1::_witsml1__logs*
>(collection)->log[0]->commonData->dTimLastChange;
163 std::vector<epc::Relationship> getAllEpcRelationships()
const;
170 static const char* XML_TAG;
181 friend void resqml2_0_1::WellboreFrameRepresentation::setWitsmlLog(
Log * witsmlLogToSet);
Definition: EpcDocument.h:142
Definition: Wellbore.h:45
Definition: AbstractObject.h:43
virtual std::string getXmlTag() const
Definition: Log.h:171
~Log()
Definition: Log.h:73
Definition: EpcDocument.h:155
Definition: WellboreFrameRepresentation.h:46
Log(gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs *fromGsoap)
Definition: Log.h:68