Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
Proxy class for a representation set representation. This is the parent class of the framework representations. It is used to group together individual representations to represent a "bag" of representations. More...
#include <RepresentationSetRepresentation.h>
Public Member Functions | |
virtual | ~RepresentationSetRepresentation ()=default |
common::DataObjectReference | getHdfProxyDor () const final |
uint64_t | getXyzPointCountOfPatch (unsigned int patchIndex) const override |
void | getXyzPointsOfPatch (unsigned int patchIndex, double *xyzPoints) const override |
uint64_t | getPatchCount () const override |
bool | isHomogeneous () const |
uint64_t | getRepresentationCount () const |
resqml2::AbstractRepresentation * | getRepresentation (uint64_t index) const |
common::DataObjectReference | getRepresentationDor (uint64_t index) const |
void | pushBack (resqml2 ::AbstractRepresentation *rep) |
virtual std::string | getXmlTag () const override |
virtual void | loadTargetRelationships () override |
Static Public Attributes | |
static const char * | XML_TAG |
Proxy class for a representation set representation. This is the parent class of the framework representations. It is used to group together individual representations to represent a "bag" of representations.
If the individual representations are all of the same type, then you can indicate that the set is homogenous. These "bags" do not imply any geologic consistency. For example, you can define a set of wellbore frames, a set of wellbore trajectories, a set of blocked wellbores. Because the framework representations inherit from this class, they inherit the capability to gather individual representations into sealed and non-sealed surface framework representations, or sealed volume framework representations.
|
virtualdefault |
Destructor does nothing since the memory is managed by the gsoap context.
|
inlinefinal |
Gets the data object reference of the HDF proxy which is used for storing the numerical values of this representation (i.e. its geometry).
|
inlineoverride |
Gets the patch count.
resqml2::AbstractRepresentation * resqml2::RepresentationSetRepresentation::getRepresentation | ( | uint64_t | index | ) | const |
Gets a particular representation in this representation set according to its position.
std::logic_error | If the underlying gSOAP instance is not a RESQML2.0 one. |
std::out_of_range | If index is out of range. |
index | Zero-based index of the of the representation we look for. |
index
. uint64_t resqml2::RepresentationSetRepresentation::getRepresentationCount | ( | ) | const |
Gets the count of representations in this representation set.
std::logic_error | If the underlying gSOAP instance is not a RESQML2.0 one. |
std::range_error | If the count is strictly greater than unsigned int max. |
common::DataObjectReference resqml2::RepresentationSetRepresentation::getRepresentationDor | ( | uint64_t | index | ) | const |
Gets the data object reference of a particular representation in this representation set according to its position.
std::logic_error | If the underlying gSOAP instance is not a RESQML2.0 one. |
std::out_of_range | If index is out of range. |
index | Zero-based index of the of the representation we look for. |
index
.
|
override |
Please do note use: not implemented yet.
|
override |
Please do note use: not implemented yet.
bool resqml2::RepresentationSetRepresentation::isHomogeneous | ( | ) | const |
Checks if this representation set contains only one type of representations (homogeneous) or several. This methods only read the IsHomogeneous
attribute.
std::logic_error | If the underlying gSOAP instance is not a RESQML2.0 one. |
|
overridevirtual |
Loads target relationships
void resqml2::RepresentationSetRepresentation::pushBack | ( | resqml2 ::AbstractRepresentation * | rep | ) |
Pushes back a representation into this representation set. The value of the IsHomogeneous
attribute is updated if required (see isHomogeneous
).
std::invalid_argument | If rep is nullptr. |
std::logic_error | If the underlying gSOAP instance is not a RESQML2.0 one. |
[in] | rep | The representation to push in this representation set. |
|
static |
The standard XML tag without XML namespace for serializing this data object.