My Project
Public Member Functions | Static Public Attributes | List of all members
resqml2_0_1::WellboreMarker Class Reference

#include <WellboreMarker.h>

Inheritance diagram for resqml2_0_1::WellboreMarker:
resqml2::AbstractObject

Public Member Functions

 WellboreMarker (class WellboreMarkerFrameRepresentation *wellboreMarkerFrame, const std::string &guid, const std::string &title)
 
 WellboreMarker (class WellboreMarkerFrameRepresentation *wellboreMarkerFrame, const std::string &guid, const std::string &title, const gsoap_resqml2_0_1::resqml2__GeologicBoundaryKind &geologicBoundaryKind)
 
 WellboreMarker (gsoap_resqml2_0_1::resqml2__WellboreMarker *fromGsoap, class WellboreMarkerFrameRepresentation *wellboreMarkerFrame)
 
 ~WellboreMarker ()
 
bool hasAGeologicBoundaryKind ()
 
gsoap_resqml2_0_1::resqml2__GeologicBoundaryKind getGeologicBoundaryKind ()
 
class WellboreMarkerFrameRepresentationgetWellMarkerFrameRepresentation ()
 
class BoundaryFeatureInterpretationgetBoundaryFeatureInterpretation () const
 
std::string getBoundaryFeatureInterpretationUuid () const
 
void setBoundaryFeatureInterpretation (class BoundaryFeatureInterpretation *interp)
 
virtual std::string getXmlTag () const
 
- Public Member Functions inherited from resqml2::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
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::eml__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml__DataObjectReference * newResqmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getResqmlVersion () const
 
std::string getContentType () const
 
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::Activity * > & getActivitySet () const
 
void addOrSetExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::string getExtraMetadata (const std::string &key)
 
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 = "WellboreMarker"
 

Additional Inherited Members

- Protected Member Functions inherited from resqml2::AbstractObject
 AbstractObject (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API. More...
 
 AbstractObject (gsoap_resqml2_0_1::eml__AbstractCitedDataObject *proxy=nullptr)
 
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)
 
- Static Protected Member Functions inherited from resqml2::AbstractObject
static void addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject)
 
- Protected Attributes inherited from resqml2::AbstractObject
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * gsoapProxy2_0_1
 
common::EpcDocumentepcDocument
 
std::vector< resqml2::Activity * > activitySet
 
bool updateXml
 

Detailed Description

This class is one of the only one to be a ResqmlDataObject which is not exported into a single file i.e. not a top level element. Consequently its behaviour is slightly different than other class. Especially there is no integration of the instances into an EPC document.

Constructor & Destructor Documentation

WellboreMarker::WellboreMarker ( class WellboreMarkerFrameRepresentation wellboreMarkerFrame,
const std::string &  guid,
const std::string &  title 
)

Creates an instance of this class in a gsoap context.

Parameters
wellboreMarkerFrameThe wellbore marker frame which contains the wellbore marker to contruct.
guidThe guid to set to the new instance. If empty then a new guid will be generated.
titleA title for the instance to create.
WellboreMarker::WellboreMarker ( class WellboreMarkerFrameRepresentation wellboreMarkerFrame,
const std::string &  guid,
const std::string &  title,
const gsoap_resqml2_0_1::resqml2__GeologicBoundaryKind &  geologicBoundaryKind 
)

Creates an instance of this class in a gsoap context.

Parameters
wellboreMarkerFrameThe wellbore marker frame which contains the wellbore marker to contruct.
guidThe guid to set to the new instance. If empty then a new guid will be generated.
titleA title for the instance to create.
geologicBoundaryKindThe type of the feature which the marker intersects.
resqml2_0_1::WellboreMarker::WellboreMarker ( gsoap_resqml2_0_1::resqml2__WellboreMarker *  fromGsoap,
class WellboreMarkerFrameRepresentation wellboreMarkerFrame 
)
inline

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

resqml2_0_1::WellboreMarker::~WellboreMarker ( )
inline

Destructor

Member Function Documentation

class BoundaryFeatureInterpretation* resqml2_0_1::WellboreMarker::getBoundaryFeatureInterpretation ( ) const
inline

Get the boundary feature interpretation linked to this well marker.

std::string WellboreMarker::getBoundaryFeatureInterpretationUuid ( ) const

Get the UUID of the boundary feature interpretation linked to this well marker. Especially useful in partial transfer mode.

resqml2__GeologicBoundaryKind WellboreMarker::getGeologicBoundaryKind ( )

Get the type of the intersected feature of the marker. Throw an exception if the marker has no GeologicBoundaryKind (see method hasAGeologicBoundaryKind).

virtual std::string resqml2_0_1::WellboreMarker::getXmlTag ( ) const
inlinevirtual

Get the XML tag for the XML serialization of this instance

Implements resqml2::AbstractObject.

bool WellboreMarker::hasAGeologicBoundaryKind ( )

Indicates if the marker is associated to a particular GeologicBoundaryKind.

void WellboreMarker::setBoundaryFeatureInterpretation ( class BoundaryFeatureInterpretation interp)

Set the boundary feature interpretation linked to this well marker.


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