My Project
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
witsml1_4_1_1::AbstractObject Class Referenceabstract

#include <AbstractObject.h>

Inheritance diagram for witsml1_4_1_1::AbstractObject:
witsml1_4_1_1::CoordinateReferenceSystem witsml1_4_1_1::FormationMarker witsml1_4_1_1::Log witsml1_4_1_1::Trajectory witsml1_4_1_1::Well witsml1_4_1_1::Wellbore

Public Member Functions

virtual const std::string & getTitle () const =0
 
virtual std::string getUuid () const =0
 
virtual time_t getCreation () const =0
 
virtual time_t getLastUpdate () const =0
 
gsoap_witsml1_4_1_1::abstract__abstractObject * getGsoapProxy ()
 
void serializeIntoStream (std::ostream *stream)
 
int getGsoapType () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getXmlTag () const =0
 
std::string getContentType () const
 
std::string getPartNameInEpcDocument () const
 
gsoap_resqml2_0_1::eml__DataObjectReference * newResqmlReference () const
 
void setCoordinateReferenceSystem (class CoordinateReferenceSystem *wellCrs)
 
class CoordinateReferenceSystemgetCoordinateReferenceSystem () const
 
virtual std::vector< epc::RelationshipgetAllEpcRelationships () const
 
virtual void importRelationshipSetFromEpc (common::EpcDocument *epcDoc)=0
 
std::string serializeIntoString ()
 

Static Public Attributes

static const char * SCHEMA_VERSION = "1.4.1.1"
 

Protected Member Functions

 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)
 

Protected Attributes

gsoap_witsml1_4_1_1::abstract__abstractObject * collection
 
common::EpcDocumentepcDocument
 
class CoordinateReferenceSystemcrs
 
bool updateXml
 

Friends

void common::EpcDocument::addGsoapProxy (AbstractObject *proxy)
 

Detailed Description

They are all containers.

Member Function Documentation

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

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

Reimplemented in witsml1_4_1_1::Trajectory, witsml1_4_1_1::Well, witsml1_4_1_1::Wellbore, witsml1_4_1_1::Log, witsml1_4_1_1::FormationMarker, and witsml1_4_1_1::CoordinateReferenceSystem.

string AbstractObject::getContentType ( ) const

Get the content type of the instance according to EPC recommendation

common::EpcDocument* witsml1_4_1_1::AbstractObject::getEpcDocument ( ) const
inline

Return the EPC document which contains this gsoap wrapper.

gsoap_witsml1_4_1_1::abstract__abstractObject* witsml1_4_1_1::AbstractObject::getGsoapProxy ( )
inline

Get the gsoap proxy which is wrapped by this entity

int witsml1_4_1_1::AbstractObject::getGsoapType ( ) const
inline

Get the Gsoap type of the wrapped element

std::string AbstractObject::getPartNameInEpcDocument ( ) const

Get part name of this XML top level instance in the EPC document

virtual std::string witsml1_4_1_1::AbstractObject::getXmlNamespace ( ) const
inlinevirtual

Get the XML namespace for the tags for the XML serialization of this instance

virtual std::string witsml1_4_1_1::AbstractObject::getXmlTag ( ) const
pure virtual
virtual void witsml1_4_1_1::AbstractObject::importRelationshipSetFromEpc ( common::EpcDocument epcDoc)
pure virtual
void witsml1_4_1_1::AbstractObject::serializeIntoStream ( std::ostream *  stream)

Serialize the instance into a stream.

Parameters
streamThe stream must be opened for writing and won't be closed.
string AbstractObject::serializeIntoString ( )

Serialize the gsoap proxy into a string


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