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 | Protected Member Functions | Protected Attributes | List of all members
RESQML2_0_1_NS::MdDatum Class Reference
Inheritance diagram for RESQML2_0_1_NS::MdDatum:
RESQML2_NS::MdDatum COMMON_NS::AbstractObject

Public Member Functions

 MdDatum (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 MdDatum (soap *soapContext, const std::string &guid, const std::string &title, RESQML2_NS::AbstractLocal3dCrs *locCrs, const gsoap_resqml2_0_1::resqml2__MdReference &originKind, const double &referenceLocationOrdinal1, const double &referenceLocationOrdinal2, const double &referenceLocationOrdinal3)
 
 MdDatum (gsoap_resqml2_0_1::_resqml2__MdDatum *fromGsoap)
 
 ~MdDatum ()
 
gsoap_resqml2_0_1::eml20__DataObjectReference * getLocalCrsDor () const
 
double getX () const
 
double getXInGlobalCrs () const
 
double getY () const
 
double getYInGlobalCrs () const
 
double getZ () const
 
double getZInGlobalCrs () const
 
gsoap_resqml2_0_1::resqml2__MdReference getOriginKind () const
 
- Public Member Functions inherited from RESQML2_NS::MdDatum
 MdDatum (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
virtual std::string getXmlTag () const
 
void setLocalCrs (class AbstractLocal3dCrs *localCrs)
 
class AbstractLocal3dCrsgetLocalCrs () const
 
std::string getLocalCrsUuid () const
 
- 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
 

Protected Member Functions

void setXmlLocalCrs (RESQML2_NS::AbstractLocal3dCrs *localCrs)
 
- Protected Member Functions inherited from RESQML2_NS::MdDatum
 MdDatum ()
 
 MdDatum (gsoap_resqml2_0_1::_resqml2__MdDatum *fromGsoap)
 
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< class WellboreTrajectoryRepresentation * > wellboreTrajectoryRepresentationSet
 
- Protected Attributes inherited from RESQML2_NS::MdDatum
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
 

Additional Inherited Members

- Static Public Attributes inherited from RESQML2_NS::MdDatum
static const char * XML_TAG = "MdDatum"
 
- 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_0_1_NS::MdDatum::MdDatum ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context

RESQML2_0_1_NS::MdDatum::MdDatum ( soap *  soapContext,
const std::string &  guid,
const std::string &  title,
RESQML2_NS::AbstractLocal3dCrs locCrs,
const gsoap_resqml2_0_1::resqml2__MdReference &  originKind,
const double &  referenceLocationOrdinal1,
const double &  referenceLocationOrdinal2,
const double &  referenceLocationOrdinal3 
)

Creates an instance of this class in a gsoap context.

Parameters
soapContextThe soap context where the underlying gsoap proxy is going to be created.
guidThe guid to set to the local 3d crs. If empty then a new guid will be generated.
titleA title for the instance to create.
locCrsThe local CRS where the ordinal are given
originKindIndicates the kind of the MD reference point.
referenceLocationOrdinal1The location of the MD reference point on the first axis of the local 3d CRS.
referenceLocationOrdinal2The location of the MD reference point on the second axis of the local 3d CRS.
referenceLocationOrdinal3The location of the MD reference point on the third axis of the local 3d CRS.
RESQML2_0_1_NS::MdDatum::MdDatum ( gsoap_resqml2_0_1::_resqml2__MdDatum *  fromGsoap)
inline

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

RESQML2_0_1_NS::MdDatum::~MdDatum ( )
inlinevirtual

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

Reimplemented from RESQML2_NS::MdDatum.

Member Function Documentation

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

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

Implements RESQML2_NS::MdDatum.

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

Getter of the origin kind of the MD.

Implements RESQML2_NS::MdDatum.

double MdDatum::getX ( ) const
virtual

Getter of the first ordinal of the reference location.

Implements RESQML2_NS::MdDatum.

double MdDatum::getY ( ) const
virtual

Getter of the second ordinal of the reference location.

Implements RESQML2_NS::MdDatum.

double MdDatum::getZ ( ) const
virtual

Getter of the third ordinal of the reference location.

Implements RESQML2_NS::MdDatum.


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