Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Trajectory.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "witsml2_1/AbstractObject.h"
22
23#include "resqml2_0_1/WellboreTrajectoryRepresentation.h"
24
25namespace WITSML2_1_NS
26{
28 {
29 private:
30 gsoap_eml2_2::witsml2__TrajectoryStation* getTrajectoryStation(unsigned int trajStationIndex) const;
31
32 public:
37 Trajectory(class Wellbore* witsmlWellbore,
38 const std::string & guid,
39 const std::string & title,
40 gsoap_eml2_2::witsml2__ChannelStatus growingStatus);
41
45 Trajectory(gsoap_eml2_2::witsml2__Trajectory* fromGsoap):AbstractObject(fromGsoap) {}
46
51
52 DLL_IMPORT_OR_EXPORT unsigned int getTrajectoryStationCount() const;
53
54 DLL_IMPORT_OR_EXPORT double getMd(unsigned int trajStationIndex) const;
55 gsoap_eml2_2::eml22__LengthUom getMdUom(unsigned int trajStationIndex) const;
56 DLL_IMPORT_OR_EXPORT std::string getMdDatum(unsigned int trajStationIndex) const;
57
58 gsoap_eml2_2::witsml2__TrajStationType getTrajStationType(unsigned int trajStationIndex) const;
59
60 gsoap_eml2_2::eml22__DataObjectReference* getWellboreDor() const;
61 DLL_IMPORT_OR_EXPORT class Wellbore* getWellbore() const;
62 void setWellbore(class Wellbore* witsmlWellbore);
63
64 static const char* XML_TAG;
65 virtual std::string getXmlTag() const {return XML_TAG;}
66
67 void loadTargetRelationships();
68 };
69}
Definition: AbstractObject.h:26
Definition: Trajectory.h:28
~Trajectory()
Definition: Trajectory.h:50
Trajectory(class Wellbore *witsmlWellbore, const std::string &guid, const std::string &title, gsoap_eml2_2::witsml2__ChannelStatus growingStatus)
Trajectory(gsoap_eml2_2::witsml2__Trajectory *fromGsoap)
Definition: Trajectory.h:45
Definition: Wellbore.h:30