Proxy class for an abstract feature interpretation.
More...
#include <AbstractFeatureInterpretation.h>
Proxy class for an abstract feature interpretation.
◆ ~AbstractFeatureInterpretation()
virtual resqml2::AbstractFeatureInterpretation::~AbstractFeatureInterpretation |
( |
| ) |
|
|
virtualdefault |
Destructor does nothing since the memory is managed by the gsoap context.
◆ getDomain()
gsoap_resqml2_0_1::resqml20__Domain resqml2::AbstractFeatureInterpretation::getDomain |
( |
| ) |
const |
Gets the domain of this interpretation.
- Returns
- The domain of this interpretation.
◆ getGridConnectionSetRepresentationSet()
Get all the grid connection set representations which reference this interpretation.
- Returns
- A vector of pointers to all the grid connection set representations which reference this interpretation.
◆ getInterpretedFeature()
AbstractFeature * resqml2::AbstractFeatureInterpretation::getInterpretedFeature |
( |
| ) |
const |
Gets the feature this instance interprets
- Returns
- A pointer to the interpreted feature.
◆ getInterpretedFeatureDor()
Gets the interpreted feature data object reference.
- Returns
- Empty data object reference if no interpreted feature is associated to this interpretation. Otherwise return the data objet reference of the associated interpreted feature.
◆ getRepresentation()
Gets a particular representation of this interpretation according to its position in the representations ordering.
- Exceptions
-
std::out_of_range | If index is out of the range of the representation set. |
- Parameters
-
index | Zero-based index of the representation we look for. |
- Returns
- A pointer to the representation at
index
.
◆ getRepresentationCount()
uint64_t resqml2::AbstractFeatureInterpretation::getRepresentationCount |
( |
| ) |
const |
|
inlinenoexcept |
Get the representation count of this interpretation.
- Exceptions
-
std::range_error | If the representation count is strictly greater than unsigned int max. |
- Returns
- The representation count.
◆ getRepresentationSet()
std::vector< AbstractRepresentation * > resqml2::AbstractFeatureInterpretation::getRepresentationSet |
( |
| ) |
const |
Gets all the representations of this interpretation.
- Returns
- A vector of all the representations associated to this interpretation.
◆ initDomain()
gsoap_resqml2_0_1::resqml20__Domain resqml2::AbstractFeatureInterpretation::initDomain |
( |
gsoap_resqml2_0_1::resqml20__Domain | defaultDomain | ) |
const |
Initializes the domain of the interpretation by looking at the local CRS domain of its representations.
- Parameters
-
defaultDomain | The default domain to set when no representation is associated to this interpretation. |
- Returns
- The domain that have been set to this interpretation (either deduced from its representation or
defaultDomain
).
◆ loadTargetRelationships()
virtual void resqml2::AbstractFeatureInterpretation::loadTargetRelationships |
( |
| ) |
|
|
overridevirtual |
Loads target relationships
◆ setInterpretedFeature()
void resqml2::AbstractFeatureInterpretation::setInterpretedFeature |
( |
AbstractFeature * | feature | ) |
|
Sets the feature which is interpreted by the current instance.
- Exceptions
-
std::invalid_argument | If feature is null. |
- Parameters
-
[in] | feature | The feature to interpret. |
The documentation for this class was generated from the following file: