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
RESQML2_NS::MdDatum Class Referenceabstract
Inheritance diagram for RESQML2_NS::MdDatum:
COMMON_NS::AbstractObject RESQML2_0_1_NS::MdDatum

Public Member Functions

 MdDatum (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
virtual ~MdDatum ()
 
virtual std::string getXmlTag () const
 
void setLocalCrs (class AbstractLocal3dCrs *localCrs)
 
class AbstractLocal3dCrsgetLocalCrs () const
 
virtual gsoap_resqml2_0_1::eml20__DataObjectReference * getLocalCrsDor () const =0
 
std::string getLocalCrsUuid () const
 
virtual double getX () const =0
 
virtual double getXInGlobalCrs () const =0
 
virtual double getY () const =0
 
virtual double getYInGlobalCrs () const =0
 
virtual double getZ () const =0
 
virtual double getZInGlobalCrs () const =0
 
virtual gsoap_resqml2_0_1::resqml2__MdReference getOriginKind () const =0
 
- Public Member Functions inherited from COMMON_NS::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
tm getCreationAsTimeStructure () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
tm getLastUpdateAsTimeStructure () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
std::string getVersionString () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setCreation (const tm &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setLastUpdate (const tm &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setVersionString (const std::string &versionString)
 
void setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * newResqmlReference () const
 
gsoap_eml2_1::eml21__DataObjectReference * newEmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
COMMON_NS::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getResqmlVersion () const
 
virtual std::string getContentType () const
 
virtual std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
unsigned int getAliasCount () const
 
std::string getAliasAuthorityAtIndex (const unsigned int &index) const
 
std::string getAliasTitleAtIndex (const unsigned int &index) const
 
const std::vector< RESQML2_NS::Activity * > & getActivitySet () const
 
unsigned int getActivityCount () const
 
RESQML2_NS::ActivitygetActivity (const unsigned int &index) const
 
void pushBackExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::vector< std::string > getExtraMetadata (const std::string &key) const
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (const unsigned int &index) const
 
std::string getExtraMetadataStringValueAtIndex (const unsigned int &index) const
 

Static Public Attributes

static const char * XML_TAG = "MdDatum"
 

Protected Member Functions

 MdDatum ()
 
 MdDatum (gsoap_resqml2_0_1::_resqml2__MdDatum *fromGsoap)
 
virtual void setXmlLocalCrs (RESQML2_NS::AbstractLocal3dCrs *localCrs)=0
 
std::vector< epc::RelationshipgetAllEpcRelationships () const
 
void importRelationshipSetFromEpc (COMMON_NS::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from COMMON_NS::AbstractObject
 AbstractObject ()
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API.
 
 AbstractObject (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 AbstractObject (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *proxy)
 
 AbstractObject (gsoap_eml2_1::eml21__AbstractObject *proxy)
 
void initMandatoryMetadata ()
 
void setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void cannotBePartial () const
 
void changeToPartialObject ()
 

Protected Attributes

std::vector< RESQML2_0_1_NS::WellboreTrajectoryRepresentation * > wellboreTrajectoryRepresentationSet
 
std::vector< RESQML2_0_1_NS::DeviationSurveyRepresentation * > deviationSurveyRepresentationSet
 
- Protected Attributes inherited from COMMON_NS::AbstractObject
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * gsoapProxy2_0_1
 
gsoap_eml2_1::eml21__AbstractObject * gsoapProxy2_1
 
COMMON_NS::EpcDocumentepcDocument
 
std::vector< RESQML2_NS::Activity * > activitySet
 
bool updateXml
 

Friends

void RESQML2_0_1_NS::WellboreTrajectoryRepresentation::setMdDatum (RESQML2_NS::MdDatum *mdDatum)
 
void RESQML2_0_1_NS::DeviationSurveyRepresentation::setMdDatum (RESQML2_NS::MdDatum *mdDatum)
 

Additional Inherited Members

- Protected Types inherited from COMMON_NS::AbstractObject
enum  EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 }
 
- Static Protected Member Functions inherited from COMMON_NS::AbstractObject
static void addActivityToResqmlObject (RESQML2_NS::Activity *activity, AbstractObject *resqmlObject)
 

Constructor & Destructor Documentation

RESQML2_NS::MdDatum::MdDatum ( )
inlineprotected

Default constructor does nothing

RESQML2_NS::MdDatum::MdDatum ( gsoap_resqml2_0_1::_resqml2__MdDatum *  fromGsoap)
inlineprotected

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

RESQML2_NS::MdDatum::MdDatum ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context

virtual RESQML2_NS::MdDatum::~MdDatum ( )
inlinevirtual

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

Reimplemented in RESQML2_0_1_NS::MdDatum.

Member Function Documentation

vector< Relationship > MdDatum::getAllEpcRelationships ( ) const
protectedvirtual

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

Implements COMMON_NS::AbstractObject.

AbstractLocal3dCrs * MdDatum::getLocalCrs ( ) const

Get the Local 3d CRS where the reference point ordinals are given

virtual gsoap_resqml2_0_1::eml20__DataObjectReference* RESQML2_NS::MdDatum::getLocalCrsDor ( ) const
pure virtual

Get the Local 3d CRS dor where the reference point ordinals are given

Implemented in RESQML2_0_1_NS::MdDatum.

std::string MdDatum::getLocalCrsUuid ( ) const

Get the Local 3d CRS uuid where the reference point ordinals are given

virtual gsoap_resqml2_0_1::resqml2__MdReference RESQML2_NS::MdDatum::getOriginKind ( ) const
pure virtual

Getter of the origin kind of the MD.

Implemented in RESQML2_0_1_NS::MdDatum.

virtual double RESQML2_NS::MdDatum::getX ( ) const
pure virtual

Getter of the first ordinal of the reference location.

Implemented in RESQML2_0_1_NS::MdDatum.

virtual std::string RESQML2_NS::MdDatum::getXmlTag ( ) const
inlinevirtual

Get the XML tag for the XML serialization of this instance

Implements COMMON_NS::AbstractObject.

virtual double RESQML2_NS::MdDatum::getY ( ) const
pure virtual

Getter of the second ordinal of the reference location.

Implemented in RESQML2_0_1_NS::MdDatum.

virtual double RESQML2_NS::MdDatum::getZ ( ) const
pure virtual

Getter of the third ordinal of the reference location.

Implemented in RESQML2_0_1_NS::MdDatum.

void MdDatum::importRelationshipSetFromEpc ( COMMON_NS::EpcDocument epcDoc)
protectedvirtual

Resolve all relationships of the object in an epc document

Implements COMMON_NS::AbstractObject.

void MdDatum::setLocalCrs ( class AbstractLocal3dCrs localCrs)

Set the local CR Swhere the reference point ordinals are given


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