Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
BlockedWellboreRepresentation.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "resqml2_0_1/WellboreFrameRepresentation.h"
22 
23 namespace RESQML2_NS
24 {
25  class AbstractGridRepresentation;
26 }
27 
28 namespace RESQML2_0_1_NS
29 {
30  class DLL_IMPORT_OR_EXPORT BlockedWellboreRepresentation : public WellboreFrameRepresentation
31  {
32  private:
33  void init(const std::string & guid, const std::string & title, class WellboreTrajectoryRepresentation * traj);
34 
35  public:
36 
40  BlockedWellboreRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WellboreFrameRepresentation(partialObject) {}
41 
50  const std::string & guid, const std::string & title, class WellboreTrajectoryRepresentation * traj);
51 
55  BlockedWellboreRepresentation(gsoap_resqml2_0_1::_resqml2__BlockedWellboreRepresentation* fromGsoap) : WellboreFrameRepresentation(fromGsoap) {}
56 
61 
62  static const char* XML_TAG;
63  std::string getXmlTag() const {return XML_TAG;}
64 
75  void setIntevalGridCells(unsigned int * gridIndices, unsigned int gridIndicesNullValue, unsigned int cellCount, ULONG64* cellIndices, unsigned char* localFacePairPerCellIndices, unsigned char localFacePairPerCellIndicesNullValue, COMMON_NS::AbstractHdfProxy * hdfProxy);
76 
80  ULONG64 getCellCount() const;
81 
86  unsigned int getGridIndices(unsigned int * gridIndices) const;
87 
92  void pushBackSupportingGridRepresentation(RESQML2_NS::AbstractGridRepresentation * supportingGridRep);
93 
97  unsigned int getSupportingGridRepresentationCount() const;
98 
102  RESQML2_NS::AbstractGridRepresentation* getSupportingGridRepresentation(unsigned int index) const;
103 
107  gsoap_resqml2_0_1::eml20__DataObjectReference* getSupportingGridRepresentationDor(unsigned int index) const;
108 
112  std::string getSupportingGridRepresentationUuid(unsigned int index) const;
113 
114  private:
115 
116  std::vector<epc::Relationship> getAllEpcRelationships() const;
117  void importRelationshipSetFromEpc(COMMON_NS::EpcDocument* epcDoc);
118  };
119 }
120 
Definition: WellboreTrajectoryRepresentation.h:30
BlockedWellboreRepresentation(gsoap_resqml2_0_1::_resqml2__BlockedWellboreRepresentation *fromGsoap)
Definition: BlockedWellboreRepresentation.h:55
Definition: BlockedWellboreRepresentation.h:30
Definition: EpcDocument.h:65
std::string getXmlTag() const
Definition: BlockedWellboreRepresentation.h:63
Definition: EpcDocument.h:154
Definition: WellboreFrameRepresentation.h:31
~BlockedWellboreRepresentation()
Definition: BlockedWellboreRepresentation.h:60
Definition: AbstractGridRepresentation.h:32
Definition: AbstractHdfProxy.h:30
Definition: WellboreInterpretation.h:26
BlockedWellboreRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: BlockedWellboreRepresentation.h:40
Definition: EpcDocument.h:49