My Project
Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
witsml1_4_1_1::Log Class Reference
Inheritance diagram for witsml1_4_1_1::Log:
witsml1_4_1_1::AbstractObject

Public Member Functions

 Log (class Wellbore *witsmlWellbore, const std::string &guid, const std::string &title, gsoap_witsml1_4_1_1::witsml1__LogIndexType indexType, const std::string &indexCurve)
 
 Log (class Wellbore *witsmlWellbore, const std::string &guid, const std::string &title, gsoap_witsml1_4_1_1::witsml1__LogIndexType indexType, const std::string &indexCurve, const std::string &sourceName, const time_t &dTimCreation, const time_t &dTimLastChange, const std::string &comments)
 
 Log (gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs *fromGsoap)
 
 ~Log ()
 
gsoap_witsml1_4_1_1::witsml1__LogIndexType getIndexType ()
 
std::string getIndexMnemonic ()
 
std::vector< std::string > getMnemonicSet ()
 
const std::vector< std::string > & getData () const
 
std::string getDataDelimiter () const
 
void setValues (const std::string &description, const std::string &dataDelimiter, const std::string &startEndIncrementUOM, const double &startIndex, const double &endIndex, const double &stepIncrement, gsoap_witsml1_4_1_1::witsml1__LogIndexDirection direction, const std::string &mnemonicList, const std::string &unitList, std::vector< std::string > const &data)
 
unsigned int getLogCurveCount () const
 
std::string getLogCurveMnemonic (const unsigned int &logCurveIndex) const
 
gsoap_witsml1_4_1_1::witsml1__LogDataType getLogCurveDataType (const unsigned int &logCurveIndex) const
 
std::string getLogCurveUom (const unsigned int &logCurveIndex) const
 
void pushBackLogCurveInfo (const std::string &mnemonic, gsoap_witsml1_4_1_1::witsml1__LogDataType typeLogData)
 
void pushBackLogCurveInfo (const std::string &namingSystem, const std::string &mnemonic, const std::string &classWitsml, const std::string &unit, const int &datumIndex, const std::string &minMaxIndexUOM, const double &minIndex, const double &maxIndex, const std::string &curveDescription, gsoap_witsml1_4_1_1::witsml1__PerLengthUom perLengthUOM, const double &densData, gsoap_witsml1_4_1_1::witsml1__LogTraceOrigin traceOrigin, gsoap_witsml1_4_1_1::witsml1__LogDataType typeLogData)
 
void setWellbore (class Wellbore *witsmlWellbore)
 
class WellboregetWellbore ()
 
resqml2_0_1::WellboreFrameRepresentationgetResqmlWellboreFrameRepresentation () const
 
soap * getGSoapContext () const
 
const std::string & getTitle () const
 
std::string getUuid () const
 
time_t getCreation () const
 
time_t getLastUpdate () const
 
std::vector< epc::RelationshipgetAllEpcRelationships () const
 
void importRelationshipSetFromEpc (common::EpcDocument *epcDoc)
 
virtual std::string getXmlTag () const
 
- Public Member Functions inherited from witsml1_4_1_1::AbstractObject
gsoap_witsml1_4_1_1::abstract__abstractObject * getGsoapProxy ()
 
void serializeIntoStream (std::ostream *stream)
 
int getGsoapType () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
std::string getContentType () const
 
std::string getPartNameInEpcDocument () const
 
gsoap_resqml2_0_1::eml__DataObjectReference * newResqmlReference () const
 
void setCoordinateReferenceSystem (class CoordinateReferenceSystem *wellCrs)
 
class CoordinateReferenceSystemgetCoordinateReferenceSystem () const
 
std::string serializeIntoString ()
 

Static Public Attributes

static const char * XML_TAG = "logs"
 
- Static Public Attributes inherited from witsml1_4_1_1::AbstractObject
static const char * SCHEMA_VERSION = "1.4.1.1"
 

Protected Attributes

class Wellborewellbore
 
resqml2_0_1::WellboreFrameRepresentationresqmlWellboreFrameRepresentation
 
- Protected Attributes inherited from witsml1_4_1_1::AbstractObject
gsoap_witsml1_4_1_1::abstract__abstractObject * collection
 
common::EpcDocumentepcDocument
 
class CoordinateReferenceSystemcrs
 
bool updateXml
 

Friends

void resqml2_0_1::WellboreFrameRepresentation::setWitsmlLog (Log *witsmlLogToSet)
 

Additional Inherited Members

- Protected Member Functions inherited from witsml1_4_1_1::AbstractObject
 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.
 
gsoap_witsml1_4_1_1::witsml1__cs_USCOREcommonData * newCommonData (const std::string &sourceName, const time_t &dTimCreation, const time_t &dTimLastChange, const std::string &comments)
 
gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation * constructEastingNorthingLocation (gsoap_witsml1_4_1_1::witsml1__LengthUom uom, const double &easting, const double &northing, class CoordinateReferenceSystem *wellCrs)
 
gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation * constructWestingSouthingLocation (gsoap_witsml1_4_1_1::witsml1__LengthUom uom, const double &westing, const double &southing, class CoordinateReferenceSystem *wellCrs)
 
gsoap_witsml1_4_1_1::witsml1__cs_USCORElocation * constructProjectedXProjectedYLocation (gsoap_witsml1_4_1_1::witsml1__LengthUom uom, const double &projectedX, const double &projectedY, class CoordinateReferenceSystem *wellCrs)
 

Constructor & Destructor Documentation

witsml1_4_1_1::Log::Log ( class Wellbore witsmlWellbore,
const std::string &  guid,
const std::string &  title,
gsoap_witsml1_4_1_1::witsml1__LogIndexType  indexType,
const std::string &  indexCurve 
)

Creates an instance of this class in a gsoap context.

Parameters
guidThe guid to set to this instance. If empty then a new guid will be generated.
witsml1_4_1_1::Log::Log ( gsoap_witsml1_4_1_1::witsml1__obj_USCORElogs *  fromGsoap)
inline

Creates an instance of this class by wrapping a gsoap instance.

witsml1_4_1_1::Log::~Log ( )
inline

Destructor does nothing since the memory is managed by the gsoap context.

Member Function Documentation

vector< Relationship > Log::getAllEpcRelationships ( ) const
virtual

Return all relationships (backward and forward ones) of the instance using EPC format.

Reimplemented from witsml1_4_1_1::AbstractObject.

unsigned int Log::getLogCurveCount ( ) const

Get the count of log curve in this log including the index log curve (usually MD)

gsoap_witsml1_4_1_1::witsml1__LogDataType Log::getLogCurveDataType ( const unsigned int &  logCurveIndex) const

Get the datatype of a particular log curve of this log

std::string Log::getLogCurveMnemonic ( const unsigned int &  logCurveIndex) const

Get the mnemonic of a particular log curve of this log

std::string Log::getLogCurveUom ( const unsigned int &  logCurveIndex) const

Get the unit of measure of a particular log curve of this log. Return empty string if no uom is provided for this log curve.

virtual std::string witsml1_4_1_1::Log::getXmlTag ( ) const
inlinevirtual

Get the XML tag for the XML serialization of this instance

Implements witsml1_4_1_1::AbstractObject.

void Log::importRelationshipSetFromEpc ( common::EpcDocument epcDoc)
virtual

Resolve all relationships of the object in an epc document.

Implements witsml1_4_1_1::AbstractObject.


The documentation for this class was generated from the following files: