|
Fesapi 2.7.0.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) 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. | |
| 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 (unsigned int locationIndex) final |
| double | getLocationProjectedY (unsigned int locationIndex) final |
| void | pushBackLocation (double projectedX, double projectedY) final |
| unsigned int | geLocationCount () const final |
| std::string | getXmlNamespace () const final |
Public Member Functions inherited from WITSML2_NS::Well | |
| Well (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
| virtual | ~Well ()=default |
| virtual void | setGroundElevation (double value, gsoap_eml2_3::eml23__LengthUom uom)=0 |
| Sets the ground level elevation (land rigs) | |
| virtual double | getGroundElevationValue () const =0 |
| Gets the ground level elevation value. | |
| virtual gsoap_eml2_3::eml23__LengthUom | getGroundElevationUom () const =0 |
| Gets the ground level elevation unit of measure. | |
| virtual void | setTimeZone (bool direction, unsigned short hours, unsigned short minutes)=0 |
| virtual bool | getTimeZoneDirection () const =0 |
| virtual unsigned short | getTimeZoneHours () const =0 |
| virtual unsigned short | getTimeZoneMinutes () const =0 |
| virtual double | getLocationProjectedX (unsigned int locationIndex)=0 |
| virtual double | getLocationProjectedY (unsigned int locationIndex)=0 |
| virtual void | pushBackLocation (double projectedX, double projectedY)=0 |
| virtual unsigned int | geLocationCount () const =0 |
| std::vector< resqml2 ::WellboreFeature * > | getResqmlWellboreFeatures () const |
| virtual std::string | getXmlTag () const final |
| void | loadTargetRelationships () |
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" |
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 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.
|
inlinefinal |
Get the standard XML namespace for serializing this data object.
|
finalvirtual |
Pushes a back location
| projectedX | The projected x coordinate. |
| projectedY | The projected y coordinate. |
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. |
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.
|
staticconstexpr |
The standard XML namespace for serializing this data object.