21 #include "AbstractObject.h"
23 namespace WITSML2_0_NS
31 class Well :
public WITSML2_0_NS::AbstractObject
42 DLL_IMPORT_OR_EXPORT
Well(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WITSML2_0_NS::
AbstractObject(partialObject) {}
53 Well(COMMON_NS::DataObjectRepository * repo,
54 const std::string & guid,
55 const std::string & title);
69 Well(COMMON_NS::DataObjectRepository * repo,
70 const std::string & guid,
71 const std::string & title,
72 const std::string & operator_,
73 gsoap_eml2_1::eml21__WellStatus statusWell,
74 gsoap_eml2_1::witsml20__WellDirection directionWell
87 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, NameLegal)
88 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, NumLicense)
89 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, NumGovt)
90 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, Field)
91 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, Country)
92 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, State)
93 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, County)
94 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, Region)
95 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, District)
96 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, Block)
97 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, Operator)
98 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, OperatorDiv)
99 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, OriginalOperator)
100 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, NumAPI)
103 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_1::eml21__WellStatus, StatusWell)
104 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_1::witsml20__WellPurpose, PurposeWell)
105 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_1::witsml20__WellFluid, FluidWell)
106 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_1::witsml20__WellDirection, DirectionWell)
108 GETTER_AND_SETTER_MEASURE_OPTIONAL_ATTRIBUTE(WaterDepth, gsoap_eml2_1::eml21__LengthUom)
109 GETTER_PRESENCE_ATTRIBUTE(GroundElevation)
111 GETTER_AND_SETTER_MEASURE_OPTIONAL_ATTRIBUTE(PcInterest, gsoap_eml2_1::eml21__DimensionlessUom)
113 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(time_t, DTimLicense)
114 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(time_t, DTimSpud)
115 GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(time_t, DTimPa)
126 DLL_IMPORT_OR_EXPORT
void setGroundElevation(
double value, gsoap_eml2_1::eml21__LengthUom uom, const std::
string& datum);
135 DLL_IMPORT_OR_EXPORT
double getGroundElevationValue() const;
144 DLL_IMPORT_OR_EXPORT gsoap_eml2_1::eml21__LengthUom getGroundElevationUom() const;
153 DLL_IMPORT_OR_EXPORT std::
string getGroundElevationDatum() const;
165 DLL_IMPORT_OR_EXPORT
void setTimeZone(
bool direction,
unsigned short hours,
unsigned short minutes = 0);
166 GETTER_PRESENCE_ATTRIBUTE(TimeZone)
174 DLL_IMPORT_OR_EXPORT
bool getTimeZoneDirection() const;
182 DLL_IMPORT_OR_EXPORT
unsigned short getTimeZoneHours() const;
190 DLL_IMPORT_OR_EXPORT
unsigned short getTimeZoneMinutes() const;
199 DLL_IMPORT_OR_EXPORT
double getLocationProjectedX(
unsigned int locationIndex);
208 DLL_IMPORT_OR_EXPORT
double getLocationProjectedY(
unsigned int locationIndex);
218 DLL_IMPORT_OR_EXPORT
void pushBackLocation(
219 const std::
string & guid,
222 unsigned int projectedCrsEpsgCode);
229 DLL_IMPORT_OR_EXPORT
unsigned int geLocationCount() const;
242 DLL_IMPORT_OR_EXPORT
void pushBackDatum(
243 const std::
string & guid,
244 const std::
string & title,
245 gsoap_eml2_1::eml21__WellboreDatumReference code,
246 const std::
string & datum,
247 gsoap_eml2_1::eml21__LengthUom elevationUnit,
249 unsigned int verticalCrsEpsgCode);
256 DLL_IMPORT_OR_EXPORT
unsigned int getDatumCount() const;
263 DLL_IMPORT_OR_EXPORT std::vector<RESQML2_NS::WellboreFeature *> getResqmlWellboreFeatures() const;
270 DLL_IMPORT_OR_EXPORT std::vector<
Wellbore *> getWellbores() const;
284 DLL_IMPORT_OR_EXPORT static const
char* XML_TAG;
291 DLL_IMPORT_OR_EXPORT virtual std::
string getXmlTag()
const {
return XML_TAG; }
296 void loadTargetRelationships();
Definition: AbstractObject.h:28
Definition: WellCompletion.h:30
Well(gsoap_eml2_1::witsml20__Well *fromGsoap)
Definition: Well.h:82
Well(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, const std::string &operator_, gsoap_eml2_1::eml21__WellStatus statusWell, gsoap_eml2_1::witsml20__WellDirection directionWell)
Constructor.
Well(common::DataObjectRepository *repo, const std::string &guid, const std::string &title)
Well(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: Well.h:42
Definition: Wellbore.h:41