|
Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
Contains all information that is the same for all wellbores (sidetracks). More...
#include <Well.h>
Public Member Functions | |
| Well (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
| Well (common::DataObjectRepository *repo, const std::string &guid, const std::string &title, bool isActive) | |
| Well (common::DataObjectRepository *repo, const std::string &guid, const std::string &title, bool isActive, gsoap_eml2_3::eml23__WellStatus statusWell, gsoap_eml2_3::witsml21__WellDirection directionWell) | |
| Constructor. | |
| Well (gsoap_eml2_3::witsml21__Well *fromGsoap) | |
| ~Well ()=default | |
| void | setGroundElevation (double value, gsoap_eml2_3::eml23__LengthUom uom, eml2_3::VerticalCrs *verticalCrs) final |
| Sets the ground level elevation (land rigs) | |
| double | getGroundElevationValue () const final |
| Gets the ground level elevation value. | |
| gsoap_eml2_3::eml23__LengthUom | getGroundElevationUom () const final |
| Gets the ground level elevation unit of measure. | |
| common::DataObjectReference | getGroundElevationDatumDor () const final |
| virtual void | setWellheadElevation (double value, gsoap_eml2_3::eml23__LengthUom uom, eml2_3::VerticalCrs *verticalCrs) final |
| Sets the well head elevation. | |
| virtual double | getWellheadElevationValue () const final |
| Gets the well head elevation value. | |
| virtual gsoap_eml2_3::eml23__LengthUom | getWellheadElevationUom () const final |
| Gets the well head elevation unit of measure. | |
| virtual common::DataObjectReference | getWellheadElevationDatumDor () const final |
| void | setTimeZone (bool direction, unsigned short hours, unsigned short minutes) final |
| bool | getTimeZoneDirection () const final |
| unsigned short | getTimeZoneHours () const final |
| unsigned short | getTimeZoneMinutes () const final |
| double | getLocationProjectedX (uint64_t locationIndex) final |
| double | getLocationProjectedY (uint64_t locationIndex) final |
| void | pushBackLocation (double projectedX, double projectedY, eml2_3::LocalEngineering2dCrs *crs) final |
| uint64_t | geLocationCount () const final |
| std::string | getXmlNamespace () const final |
Public Member Functions inherited from WITSML2_NS::Well | |
| Well (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
| eml2_3::VerticalCrs * | getGroundElevationDatum () const |
| eml2_3::VerticalCrs * | getWellheadElevationDatum () const |
| virtual std::string | getXmlTag () const final |
Public Member Functions inherited from common::AbstractObject | |
| bool | isPartial () const |
| virtual bool | isTopLevelElement () 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 | getVersion () const |
| void | setTitle (const std::string &title) |
| void | setEditor (const std::string &editor) |
| void | setCreation (time_t creation) |
| void | setCreation (const tm &creation) |
| void | setOriginator (const std::string &originator) |
| void | setDescription (const std::string &description) |
| void | setLastUpdate (time_t lastUpdate) |
| void | setLastUpdate (const tm &lastUpdate) |
| void | setDescriptiveKeywords (const std::string &descriptiveKeywords) |
| void | setVersion (const std::string &version) |
| void | setMetadata (const std::string &title, const std::string &editor, time_t creation, const std::string &originator, const std::string &description, time_t lastUpdate, const std::string &descriptiveKeywords) |
| void | serializeIntoStream (std::ostream *stream) |
| gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * | getEml20GsoapProxy () const |
| void | setGsoapProxy (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *gsoapProxy) |
| gsoap_eml2_3::eml23__AbstractObject * | getEml23GsoapProxy () const |
| void | setGsoapProxy (gsoap_eml2_3::eml23__AbstractObject *gsoapProxy) |
| soap * | getGsoapContext () const |
| int | getGsoapType () const |
| gsoap_resqml2_0_1::eml20__DataObjectReference * | newResqmlReference () const |
| gsoap_eml2_3::eml23__DataObjectReference * | newEml23Reference () const |
| gsoap_resqml2_0_1::resqml20__ContactElementReference * | newContactElementReference2_0_1 () const |
| gsoap_eml2_3::resqml22__ContactElement * | newContactElementReference2_2 () const |
| common::DataObjectRepository * | getRepository () const |
| virtual std::string | getXmlNamespaceVersion () const |
| virtual std::string | getContentType () const |
| virtual std::string | getQualifiedType () const |
| virtual std::string | getPartNameInEpcDocument () const |
| std::string | serializeIntoString () |
| void | addAlias (const std::string &authority, const std::string &title) |
| uint64_t | getAliasCount () const |
| std::string | getAliasAuthorityAtIndex (uint64_t index) const |
| std::string | getAliasTitleAtIndex (uint64_t index) const |
| std::vector< eml2::Activity * > | getActivitySet () const |
| uint64_t | getActivityCount () const |
| eml2::Activity * | getActivity (uint64_t index) const |
| void | pushBackExtraMetadata (const std::string &key, const std::string &value) |
| std::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 (unsigned int index) const |
| std::string | getExtraMetadataStringValueAtIndex (unsigned int index) const |
| std::string | buildEtp12Uri () const |
| void | setUriSource (const std::string &uriSource) |
| const std::string & | getUriSource () const |
| std::string | getEpcSourceFolder () const |
| void | changeToPartialObject () |
Static Public Attributes | |
| static constexpr char const * | XML_NS = "witsml21" |
Static Public Attributes inherited from WITSML2_NS::Well | |
| static constexpr char const * | XML_TAG = "Well" |
Additional Inherited Members | |
Public Types inherited from common::AbstractObject | |
| enum class | numericalDatatypeEnum { UNKNOWN = 0 , DOUBLE = 1 , FLOAT = 2 , INT64 = 3 , UINT64 = 4 , INT32 = 5 , UINT32 = 6 , INT16 = 7 , UINT16 = 8 , INT8 = 9 , UINT8 = 10 } |
Static Public Member Functions inherited from common::AbstractObject | |
| static void | setFormat (const std::string &vendor, const std::string &applicationName, const std::string &applicationVersionNumber) |
Contains all information that is the same for all wellbores (sidetracks).
|
inline |
Only to be used in partial transfer context
| [in,out] | partialObject | If non-null, the partial object. |
| witsml2_1::Well::Well | ( | common::DataObjectRepository * | repo, |
| const std::string & | guid, | ||
| const std::string & | title, | ||
| bool | isActive ) |
Creates an instance of this class in a gsoap context.
| [in,out] | repo | The dataobject repo where the underlying gsoap proxy is going to be created. |
| guid | The guid to set to this instance. If empty then a new guid will be generated. | |
| title | The title. | |
| isActive | True if is active, false if not. |
| witsml2_1::Well::Well | ( | common::DataObjectRepository * | repo, |
| const std::string & | guid, | ||
| const std::string & | title, | ||
| bool | isActive, | ||
| gsoap_eml2_3::eml23__WellStatus | statusWell, | ||
| gsoap_eml2_3::witsml21__WellDirection | directionWell ) |
Constructor.
| std::invalid_argument | If repo == nullptr. |
| [in,out] | repo | If non-null, the repo. |
| guid | Unique identifier. | |
| title | The title. | |
| isActive | True if is active, false if not. | |
| statusWell | The status well. | |
| directionWell | The direction well. |
|
inline |
Creates an instance of this class by wrapping a gsoap instance.
| [in,out] | fromGsoap | If non-null, from gsoap. |
|
virtualdefault |
Destructor does nothing since the memory is managed by the gsoap context.
Reimplemented from WITSML2_NS::Well.
|
finalvirtual |
|
finalvirtual |
Gets the data object reference of the datum of this ground elevation.
Implements WITSML2_NS::Well.
|
finalvirtual |
Gets the ground level elevation unit of measure.
| std::invalid_argument | If the ground elevation does not exist. |
Implements WITSML2_NS::Well.
|
finalvirtual |
Gets the ground level elevation value.
| std::invalid_argument | If the ground elevation does not exist. |
Implements WITSML2_NS::Well.
|
finalvirtual |
Gets location projected x coordinate
| locationIndex | Zero-based index of the location. |
Implements WITSML2_NS::Well.
|
finalvirtual |
Gets location projected y coordinate
| locationIndex | Zero-based index of the location. |
Implements WITSML2_NS::Well.
|
finalvirtual |
Get the time zone direction in which the well is located.
Implements WITSML2_NS::Well.
|
finalvirtual |
Get the time zone hour(s) in which the well is located. Must be used with getTimeZoneDirection and getTimeZoneMinute() to have the complete time zone.
Implements WITSML2_NS::Well.
|
finalvirtual |
Get the time zone minute(s) in which the well is located. Must be used with getTimeZoneDirection and getTimeZoneHour() to have the complete time zone.
Implements WITSML2_NS::Well.
|
finalvirtual |
Gets the data object reference of the datum of this well head elevation.
Implements WITSML2_NS::Well.
|
finalvirtual |
Gets the well head elevation unit of measure.
| std::invalid_argument | If the well head elevation does not exist. |
Implements WITSML2_NS::Well.
|
finalvirtual |
Gets the well head elevation value.
| std::invalid_argument | If the well head elevation does not exist. |
Implements WITSML2_NS::Well.
|
inlinefinalvirtual |
Get the standard XML namespace for serializing this data object.
Implements common::AbstractObject.
|
finalvirtual |
Pushes a back location
| projectedX | The projected x coordinate. |
| projectedY | The projected y coordinate. |
| crs | The CRS of the X and Y coordinates. |
Implements WITSML2_NS::Well.
|
finalvirtual |
Sets the ground level elevation (land rigs)
| std::invalid_argument | If value is undefined. |
| value | The elevation value. |
| uom | The elevation unit of measure. |
| verticalCrs | The vertical CRS which is used as the datum for the ground elevation |
Implements WITSML2_NS::Well.
|
finalvirtual |
Set the time zone in which the well is located.It is the deviation in hours and minutes from UTC.This should be the normal time zone at the well and not a seasonally-adjusted value, such as daylight savings time
| direction | True means the time zone is a positive offset from UTC, false means the time zone is a negative offset from UTC. |
| hours | The deviation hours from UTC. |
| minutes | The deviation minutes from UTC. |
Implements WITSML2_NS::Well.
|
finalvirtual |
Sets the well head elevation.
| std::invalid_argument | If value is undefined. |
| value | The elevation value. |
| uom | The elevation unit of measure. |
| verticalCrs | The vertical CRS which is used as the datum for the well head elevation |
Implements WITSML2_NS::Well.
|
staticconstexpr |
The standard XML namespace for serializing this data object.