Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
WITSML1_4_1_1_NS::AbstractObject Class Referenceabstract

#include <AbstractObject.h>

Inheritance diagram for WITSML1_4_1_1_NS::AbstractObject:
WITSML1_4_1_1_NS::CoordinateReferenceSystem WITSML1_4_1_1_NS::FormationMarker WITSML1_4_1_1_NS::Log WITSML1_4_1_1_NS::Trajectory WITSML1_4_1_1_NS::Well WITSML1_4_1_1_NS::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_NS::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::eml20__DataObjectReference * newResqmlReference () const
 
void setCoordinateReferenceSystem (class CoordinateReferenceSystem *wellCrs)
 
class CoordinateReferenceSystemgetCoordinateReferenceSystem () const
 
virtual std::vector< epc::RelationshipgetAllEpcRelationships () const
 
virtual void importRelationshipSetFromEpc (COMMON_NS::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_NS::EpcDocumentepcDocument
 
class CoordinateReferenceSystemcrs
 
bool updateXml
 

Friends

void COMMON_NS::EpcDocument::addGsoapProxy (WITSML1_4_1_1_NS::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_NS::Trajectory, WITSML1_4_1_1_NS::Well, WITSML1_4_1_1_NS::Wellbore, WITSML1_4_1_1_NS::Log, WITSML1_4_1_1_NS::FormationMarker, and WITSML1_4_1_1_NS::CoordinateReferenceSystem.

string AbstractObject::getContentType ( ) const

Get the content type of the instance according to EPC recommendation

COMMON_NS::EpcDocument* WITSML1_4_1_1_NS::AbstractObject::getEpcDocument ( ) const
inline

Return the EPC document which contains this gsoap wrapper.

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

Get the gsoap proxy which is wrapped by this entity

int WITSML1_4_1_1_NS::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_NS::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_NS::AbstractObject::getXmlTag ( ) const
pure virtual
virtual void WITSML1_4_1_1_NS::AbstractObject::importRelationshipSetFromEpc ( COMMON_NS::EpcDocument epcDoc)
pure virtual
void WITSML1_4_1_1_NS::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: