My Project
Public Member Functions | Static Public Attributes | List of all members
resqml2_0_1::BlockedWellboreRepresentation Class Reference
Inheritance diagram for resqml2_0_1::BlockedWellboreRepresentation:
resqml2_0_1::WellboreFrameRepresentation resqml2::AbstractRepresentation resqml2::AbstractObject

Public Member Functions

 BlockedWellboreRepresentation (class WellboreInterpretation *interp, const std::string &guid, const std::string &title, class WellboreTrajectoryRepresentation *traj)
 
 BlockedWellboreRepresentation (gsoap_resqml2_0_1::_resqml2__BlockedWellboreRepresentation *fromGsoap)
 
 ~BlockedWellboreRepresentation ()
 
std::string getXmlTag () const
 
void setIntevalGridCells (unsigned int *gridIndices, unsigned int gridIndicesNullValue, unsigned int cellCount, ULONG64 *cellIndices, unsigned char *localFacePairPerCellIndices, unsigned char localFacePairPerCellIndicesNullValue, resqml2::AbstractHdfProxy *hdfProxy)
 
unsigned int getCellCount () const
 
unsigned int getGridIndices (unsigned int *gridIndices) const
 
void pushBackSupportingGridRepresentation (resqml2::AbstractGridRepresentation *supportingGridRep)
 
unsigned int getSupportingGridRepresentationCount () const
 
resqml2::AbstractGridRepresentationgetSupportingGridRepresentation (unsigned int index) const
 
std::string getSupportingGridRepresentationUuid (unsigned int index) const
 
- Public Member Functions inherited from resqml2_0_1::WellboreFrameRepresentation
 WellboreFrameRepresentation (class WellboreInterpretation *interp, const std::string &guid, const std::string &title, class WellboreTrajectoryRepresentation *traj)
 
 WellboreFrameRepresentation (gsoap_resqml2_0_1::_resqml2__WellboreFrameRepresentation *fromGsoap)
 
void setMdValues (double *mdValues, const unsigned int &mdValueCount, resqml2::AbstractHdfProxy *proxy)
 
void setMdValues (const double &firstMdValue, const double &incrementMdValue, const unsigned int &mdValueCount)
 
bool areMdValuesRegularlySpaced () const
 
double getMdConstantIncrementValue () const
 
double getMdFirstValue () const
 
unsigned int getMdValuesCount () const
 
ULONG64 getXyzPointCountOfPatch (const unsigned int &patchIndex) const
 
void getXyzPointsOfPatch (const unsigned int &patchIndex, double *xyzPoints) const
 
resqml2::AbstractValuesProperty::hdfDatatypeEnum getMdHdfDatatype () const
 
void getMdAsDoubleValues (double *values)
 
void getMdAsFloatValues (float *values)
 
std::string getWellboreTrajectoryUuid () const
 
class WellboreTrajectoryRepresentationgetWellboreTrajectory ()
 
std::string getLocalCrsUuid () const
 
std::string getHdfProxyUuid () const
 
unsigned int getPatchCount () const
 
void setWitsmlLog (witsml1_4_1_1::Log *witsmlLogToSet)
 
witsml1_4_1_1::LoggetWitsmlLog ()
 
- Public Member Functions inherited from resqml2::AbstractRepresentation
virtual ~AbstractRepresentation ()
 
class AbstractLocal3dCrsgetLocalCrs () const
 
class AbstractHdfProxygetHdfProxy () const
 
const std::vector< class AbstractProperty * > & getPropertySet () const
 
std::vector< class AbstractValuesProperty * > getValuesPropertySet () const
 
unsigned int getValuesPropertyCount () const
 
class AbstractValuesPropertygetValuesProperty (const unsigned int &index) const
 
void setInterpretation (class AbstractFeatureInterpretation *interp)
 
class AbstractFeatureInterpretationgetInterpretation () const
 
std::string getInterpretationUuid () const
 
std::string getInterpretationContentType () const
 
void addSubRepresentation (SubRepresentation *subRep)
 
std::vector< SubRepresentation * > getSubRepresentationSet () const
 
unsigned int getSubRepresentationCount () const
 
SubRepresentationgetSubRepresentation (const unsigned int &index) const
 
std::vector< SubRepresentation * > getFaultSubRepresentationSet () const
 
unsigned int getFaultSubRepresentationCount () const
 
SubRepresentationgetFaultSubRepresentation (const unsigned int &index) const
 
ULONG64 getXyzPointCountOfAllPatches () const
 
void getXyzPointsOfPatchInGlobalCrs (const unsigned int &patchIndex, double *xyzPoints) const
 
void getXyzPointsOfAllPatches (double *xyzPoints) const
 
void getXyzPointsOfAllPatchesInGlobalCrs (double *xyzPoints) const
 
AbstractRepresentationgetSeismicSupportOfPatch (const unsigned int &patchIndex)
 
void pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet, bool xml=true)
 
void setHdfProxy (resqml2::AbstractHdfProxy *proxy)
 
void addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, double *inlines, double *crosslines, const unsigned int &pointCount, resqml2::AbstractRepresentation *seismicSupport, resqml2::AbstractHdfProxy *proxy)
 
void addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, const double &startInline, const double &incrInline, const unsigned int &countInline, const double &startCrossline, const double &incrCrossline, const unsigned int &countCrossline, resqml2::AbstractRepresentation *seismicSupport)
 
void addSeismic2dCoordinatesToPatch (const unsigned int patchIndex, double *lineAbscissa, const unsigned int &pointCount, resqml2::AbstractRepresentation *seismicSupport, resqml2::AbstractHdfProxy *proxy)
 
void getSeismicLineAbscissaOfPointsOfPatch (const unsigned int &patchIndex, double *values)
 
- Public Member Functions inherited from resqml2::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml__DataObjectReference * newResqmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getResqmlVersion () const
 
std::string getContentType () const
 
std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
unsigned int getAliasCount () const
 
std::string getAliasAuthorityAtIndex (const unsigned int &index) const
 
std::string getAliasTitleAtIndex (const unsigned int &index) const
 
const std::vector< resqml2::Activity * > & getActivitySet () const
 
void addOrSetExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::string getExtraMetadata (const std::string &key)
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (const unsigned int &index) const
 
std::string getExtraMetadataStringValueAtIndex (const unsigned int &index) const
 

Static Public Attributes

static const char * XML_TAG = "BlockedWellboreRepresentation"
 
- Static Public Attributes inherited from resqml2_0_1::WellboreFrameRepresentation
static const char * XML_TAG = "WellboreFrameRepresentation"
 
- Static Public Attributes inherited from resqml2::AbstractRepresentation
static const char * XML_TAG = "AbstractRepresentation"
 

Additional Inherited Members

- Public Types inherited from resqml2::AbstractRepresentation
enum  indexableElement {
  NODE = 0, EDGE = 1, FACE = 2, VOLUME = 3,
  PILLAR = 4
}
 
- Protected Member Functions inherited from resqml2_0_1::WellboreFrameRepresentation
gsoap_resqml2_0_1::resqml2__PointGeometry * getPointGeometry2_0_1 (const unsigned int &patchIndex) const
 
 WellboreFrameRepresentation (resqml2::AbstractFeatureInterpretation *interp, resqml2::AbstractLocal3dCrs *crs)
 
- Protected Member Functions inherited from resqml2::AbstractRepresentation
 AbstractRepresentation (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
 
 AbstractRepresentation (class AbstractFeatureInterpretation *interp, class AbstractLocal3dCrs *crs)
 
 AbstractRepresentation (gsoap_resqml2_0_1::resqml2__AbstractRepresentation *fromGsoap)
 
void pushBackSeismicSupport (AbstractRepresentation *seismicSupport)
 
void setXmlInterpretation (class AbstractFeatureInterpretation *interp)
 
gsoap_resqml2_0_1::resqml2__PointGeometry * createPointGeometryPatch2_0_1 (const unsigned int &patchIndex, double *points, unsigned long long *numPoints, const unsigned int &numDimensionsInArray, resqml2::AbstractHdfProxy *proxy)
 
std::string getHdfProxyUuidFromPointGeometryPatch (gsoap_resqml2_0_1::resqml2__PointGeometry *patch) const
 
gsoap_resqml2_0_1::resqml2__Seismic2dCoordinates * getSeismic2dCoordinates (const unsigned int &patchIndex) const
 
gsoap_resqml2_0_1::resqml2__Seismic3dCoordinates * getSeismic3dCoordinates (const unsigned int &patchIndex) const
 
- Protected Member Functions inherited from resqml2::AbstractObject
 AbstractObject (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__DataObjectReference *partialObject)
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API. More...
 
 AbstractObject (gsoap_resqml2_0_1::eml__AbstractCitedDataObject *proxy=nullptr)
 
void initMandatoryMetadata ()
 
void setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
- Static Protected Member Functions inherited from resqml2::AbstractObject
static void addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject)
 
- Protected Attributes inherited from resqml2_0_1::WellboreFrameRepresentation
class WellboreTrajectoryRepresentationtrajectory
 
witsml1_4_1_1::LogwitsmlLog
 
- Protected Attributes inherited from resqml2::AbstractRepresentation
class AbstractFeatureInterpretationinterpretation
 
resqml2::AbstractHdfProxyhdfProxy
 
class AbstractLocal3dCrslocalCrs
 
std::vector< AbstractRepresentation * > seismicSupportSet
 
std::vector< SubRepresentation * > subRepresentationSet
 
std::vector< AbstractProperty * > propertySet
 
std::vector< AbstractRepresentation * > seismicSupportedRepSet
 
std::vector< class RepresentationSetRepresentation * > representationSetRepresentationSet
 
- Protected Attributes inherited from resqml2::AbstractObject
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * gsoapProxy2_0_1
 
common::EpcDocumentepcDocument
 
std::vector< resqml2::Activity * > activitySet
 
bool updateXml
 

Constructor & Destructor Documentation

BlockedWellboreRepresentation::BlockedWellboreRepresentation ( class WellboreInterpretation interp,
const std::string &  guid,
const std::string &  title,
class WellboreTrajectoryRepresentation traj 
)

Creates an instance of this class in a gsoap context.

Parameters
interpThe interpretation the instance represents.
guidA guid for the instance to create.
titleA title for the instance to create.
trajThe wellbore trajectory this intance is based on.
resqml2_0_1::BlockedWellboreRepresentation::BlockedWellboreRepresentation ( gsoap_resqml2_0_1::_resqml2__BlockedWellboreRepresentation *  fromGsoap)
inline

Creates an instance of this class by wrapping a gsoap instance.

resqml2_0_1::BlockedWellboreRepresentation::~BlockedWellboreRepresentation ( )
inline

Destructor does nothing since the memory is managed by the gsoap context.

Member Function Documentation

unsigned int BlockedWellboreRepresentation::getCellCount ( ) const

The number of non-null entries in the grid indices array.

unsigned int BlockedWellboreRepresentation::getGridIndices ( unsigned int *  gridIndices) const

Size of array = IntervalCount on the wellbore frame rep. The grids (and there indices) are defined using pushBackSupportingGridRepresentation method.

Returns
nullValue
resqml2::AbstractGridRepresentation * BlockedWellboreRepresentation::getSupportingGridRepresentation ( unsigned int  index) const

Get the supporting grid representation located at a specific index of this grid connection representation.

unsigned int BlockedWellboreRepresentation::getSupportingGridRepresentationCount ( ) const

Get the count of the supporting grid representations of this grid connection representation.

std::string BlockedWellboreRepresentation::getSupportingGridRepresentationUuid ( unsigned int  index) const

Get the first supporting grid representation uuid of this grid connection representation.

std::string resqml2_0_1::BlockedWellboreRepresentation::getXmlTag ( ) const
inlinevirtual

Get the XML tag for the XML serialization of this instance

Reimplemented from resqml2_0_1::WellboreFrameRepresentation.

void BlockedWellboreRepresentation::pushBackSupportingGridRepresentation ( resqml2::AbstractGridRepresentation supportingGridRep)

Pushes back a grid representation which is one of the support of this representation. And push back this representation as a grid connection information of the grid representation as well.

void BlockedWellboreRepresentation::setIntevalGridCells ( unsigned int *  gridIndices,
unsigned int  gridIndicesNullValue,
unsigned int  cellCount,
ULONG64 *  cellIndices,
unsigned char *  localFacePairPerCellIndices,
unsigned char  localFacePairPerCellIndicesNullValue,
resqml2::AbstractHdfProxy hdfProxy 
)

Set all information about the intersected grid cells. You must first provide MD values of the frame before to use this method.

Parameters
gridIndicesSize of array = IntervalCount on the wellbore frame rep. BUSINESS RULE: The cell count must equal the number of non-null entries in this array. The grids (and there indices) are defined using pushBackSupportingGridRepresentation method.
gridIndicesNullValueThe null value used in gridIndices in order to indicate that an interval deos not correspond to any intersected grid.
cellCountThe number of non-null entries in the grid indices array.
cellIndicesThe intersected cell index for each non null gridIndices. They are ordered according to non null gridIndices. Array length must equal cell count.
localFacePairPerCellIndicesFor each cell, these are the entry and exit intersection faces of the trajectory in the cell. The array dimensions must equal 2 x CellCount.
localFacePairPerCellIndicesNullValueThe null value used in localFacePerCellIndices in order to indicate that it corresponds to a missing intersection, e.g., when a trajectory originates or terminates within a cell.
hdfProxyThe hdf proxy where the numerical values will be stored.

The documentation for this class was generated from the following files: