Fesapi
2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
#include <StratigraphicColumnRankInterpretation.h>
Public Member Functions | |
StratigraphicColumnRankInterpretation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
StratigraphicColumnRankInterpretation (resqml2::Model *orgFeat, const std::string &guid, const std::string &title, unsigned long rank, gsoap_resqml2_0_1::resqml20__OrderingCriteria orderingCriteria) | |
Creates an instance of this class in a gsoap context. More... | |
StratigraphicColumnRankInterpretation (gsoap_resqml2_0_1::_resqml20__StratigraphicColumnRankInterpretation *fromGsoap) | |
~StratigraphicColumnRankInterpretation ()=default | |
void | pushBackStratiUnitInterpretation (resqml2::StratigraphicUnitInterpretation *stratiUnitInterpretation) final |
void | setHorizonOfLastContact (resqml2::HorizonInterpretation *partOf) final |
void | pushBackStratigraphicBinaryContact (resqml2::StratigraphicUnitInterpretation *subject, gsoap_eml2_3::resqml22__ContactMode subjectContactMode, resqml2::StratigraphicUnitInterpretation *directObject, gsoap_eml2_3::resqml22__ContactMode directObjectMode, resqml2::HorizonInterpretation *partOf=nullptr) final |
bool | isAChronoStratiRank () const final |
unsigned int | getContactCount () const final |
gsoap_eml2_3::resqml22__ContactMode | getSubjectContactModeOfContact (unsigned int contactIndex) const final |
resqml2::StratigraphicUnitInterpretation * | getSubjectOfContact (unsigned int contactIndex) const final |
gsoap_eml2_3::resqml22__ContactMode | getDirectObjectContactModeOfContact (unsigned int contactIndex) const final |
resqml2::StratigraphicUnitInterpretation * | getDirectObjectOfContact (unsigned int contactIndex) const final |
resqml2::HorizonInterpretation * | getHorizonInterpretationOfContact (unsigned int contactIndex) const final |
unsigned int | getStratigraphicUnitInterpretationCount () const final |
common::DataObjectReference | getStratigraphicUnitInterpretationDor (unsigned int index) const final |
unsigned int | getHorizonInterpretationCount () const final |
common::DataObjectReference | getHorizonInterpretationDor (unsigned int index) const final |
std::string | getXmlNamespace () const final |
Public Member Functions inherited from resqml2::StratigraphicColumnRankInterpretation | |
std::vector< StratigraphicUnitInterpretation * > | getStratigraphicUnitInterpretationSet () const |
HorizonInterpretation * | getHorizonInterpretation (unsigned int index) const |
std::vector< HorizonInterpretation * > | getHorizonInterpretationSet () const |
virtual std::string | getXmlTag () const final |
Public Member Functions inherited from resqml2::AbstractStratigraphicOrganizationInterpretation | |
virtual | ~AbstractStratigraphicOrganizationInterpretation ()=default |
std::vector< AbstractGridRepresentation * > | getGridRepresentations () const |
unsigned int | getGridRepresentationCount () const |
AbstractGridRepresentation * | getGridRepresentation (unsigned int index) const |
bool | isAssociatedToGridRepresentation (AbstractGridRepresentation *gridRep) const |
Public Member Functions inherited from resqml2::AbstractOrganizationInterpretation | |
virtual | ~AbstractOrganizationInterpretation ()=default |
void | pushBackBinaryContact (AbstractFeatureInterpretation *subject, gsoap_eml2_3::resqml22__ContactVerb verb, AbstractFeatureInterpretation *directObject) |
void | pushBackBinaryContact (AbstractFeatureInterpretation *subject, gsoap_eml2_3::resqml22__ContactVerb verb, AbstractFeatureInterpretation *directObject, AbstractFeatureInterpretation *partOf) |
void | pushBackBinaryContact (AbstractFeatureInterpretation *subject, gsoap_eml2_3::resqml22__ContactVerb verb, AbstractFeatureInterpretation *directObject, gsoap_resqml2_0_1::resqml20__ContactSide directObjectQualifier) |
void | pushBackBinaryContact (AbstractFeatureInterpretation *subject, gsoap_resqml2_0_1::resqml20__ContactSide subjectQualifier, gsoap_eml2_3::resqml22__ContactVerb verb, AbstractFeatureInterpretation *directObject, gsoap_resqml2_0_1::resqml20__ContactSide directObjectQualifier) |
Public Member Functions inherited from resqml2::AbstractFeatureInterpretation | |
virtual | ~AbstractFeatureInterpretation ()=default |
common::DataObjectReference | getInterpretedFeatureDor () const |
void | setInterpretedFeature (AbstractFeature *feature) |
AbstractFeature * | getInterpretedFeature () const |
gsoap_resqml2_0_1::resqml20__Domain | initDomain (gsoap_resqml2_0_1::resqml20__Domain defaultDomain) const |
gsoap_resqml2_0_1::resqml20__Domain | getDomain () const |
std::vector< AbstractRepresentation * > | getRepresentationSet () const |
unsigned int | getRepresentationCount () const |
std::vector< GridConnectionSetRepresentation * > | getGridConnectionSetRepresentationSet () const |
AbstractRepresentation * | getRepresentation (unsigned int index) const |
Public Member Functions inherited from common::AbstractObject | |
bool | isPartial () const |
virtual bool | isTopLevelElement () const |
std::string | getUuid () const |
std::string | getTitle () const |
std::string | getEditor () const |
time_t | getCreation () const |
tm | getCreationAsTimeStructure () const |
std::string | getOriginator () const |
std::string | getDescription () const |
time_t | getLastUpdate () const |
tm | getLastUpdateAsTimeStructure () const |
std::string | getFormat () const |
std::string | getDescriptiveKeywords () const |
std::string | getVersion () const |
void | setTitle (const std::string &title) |
void | setEditor (const std::string &editor) |
void | setCreation (time_t creation) |
void | setCreation (const tm &creation) |
void | setOriginator (const std::string &originator) |
void | setDescription (const std::string &description) |
void | setLastUpdate (time_t lastUpdate) |
void | setLastUpdate (const tm &lastUpdate) |
void | setDescriptiveKeywords (const std::string &descriptiveKeywords) |
void | setVersion (const std::string &version) |
void | setMetadata (const std::string &title, const std::string &editor, time_t creation, const std::string &originator, const std::string &description, time_t lastUpdate, const std::string &descriptiveKeywords) |
void | serializeIntoStream (std::ostream *stream) |
void | setGsoapProxy (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *gsoapProxy) |
void | setGsoapProxy (gsoap_eml2_1::eml21__AbstractObject *gsoapProxy) |
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * | getEml20GsoapProxy () const |
gsoap_eml2_1::eml21__AbstractObject * | getEml21GsoapProxy () const |
gsoap_eml2_2::eml22__AbstractObject * | getEml22GsoapProxy () const |
void | setGsoapProxy (gsoap_eml2_2::eml22__AbstractObject *gsoapProxy) |
gsoap_eml2_3::eml23__AbstractObject * | getEml23GsoapProxy () const |
void | setGsoapProxy (gsoap_eml2_3::eml23__AbstractObject *gsoapProxy) |
soap * | getGsoapContext () const |
int | getGsoapType () const |
gsoap_resqml2_0_1::eml20__DataObjectReference * | newResqmlReference () const |
gsoap_eml2_1::eml21__DataObjectReference * | newEmlReference () const |
gsoap_eml2_2::eml22__DataObjectReference * | newEml22Reference () const |
gsoap_eml2_3::eml23__DataObjectReference * | newEml23Reference () const |
gsoap_resqml2_0_1::resqml20__ContactElementReference * | newContactElementReference2_0_1 () const |
gsoap_eml2_3::resqml22__ContactElement * | newContactElementReference2_2 () const |
common::DataObjectRepository * | getRepository () const |
virtual std::string | getXmlNamespaceVersion () const |
virtual std::string | getContentType () const |
virtual std::string | getQualifiedType () const |
virtual std::string | getPartNameInEpcDocument () const |
std::string | serializeIntoString () |
void | addAlias (const std::string &authority, const std::string &title) |
unsigned int | getAliasCount () const |
std::string | getAliasAuthorityAtIndex (unsigned int index) const |
std::string | getAliasTitleAtIndex (unsigned int index) const |
std::vector< eml2::Activity * > | getActivitySet () const |
unsigned int | getActivityCount () const |
eml2::Activity * | getActivity (unsigned int index) const |
void | pushBackExtraMetadata (const std::string &key, const std::string &value) |
std::unordered_map< std::string, std::string > | getExtraMetadataSet () const |
std::vector< std::string > | getExtraMetadata (const std::string &key) const |
unsigned int | getExtraMetadataCount () const |
std::string | getExtraMetadataKeyAtIndex (unsigned int index) const |
std::string | getExtraMetadataStringValueAtIndex (unsigned int index) const |
Static Public Attributes | |
static const char * | XML_NS |
Static Public Attributes inherited from resqml2::StratigraphicColumnRankInterpretation | |
static const char * | XML_TAG |
Additional Inherited Members | |
Public Types inherited from common::AbstractObject | |
enum | hdfDatatypeEnum { UNKNOWN = 0 , DOUBLE = 1 , FLOAT = 2 , LONG_64 = 3 , ULONG_64 = 4 , INT = 5 , UINT = 6 , SHORT = 7 , USHORT = 8 , CHAR = 9 , UCHAR = 10 } |
Static Public Member Functions inherited from common::AbstractObject | |
static void | setFormat (const std::string &vendor, const std::string &applicationName, const std::string &applicationVersionNumber) |
This class is a container for other organizations that are consistent to each others.
|
inline |
Only to be used in partial transfer context
resqml2_0_1::StratigraphicColumnRankInterpretation::StratigraphicColumnRankInterpretation | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned long | rank, | ||
gsoap_resqml2_0_1::resqml20__OrderingCriteria | orderingCriteria | ||
) |
Creates an instance of this class in a gsoap context.
std::invalid_argument | If orgFeat == nullptr or if orgFeat is not a stratigraphic organization. |
[in] | orgFeat | The feature the instance interprets. It must be a stratigraphic organization feature. |
guid | The guid to set to the interpretation. If empty then a new guid will be generated. | |
title | A title for the instance to create. | |
rank | The rank index of this interpretation within a stratigraphic column. | |
orderingCriteria | How the included horizons are ordered. |
|
inline |
Creates an instance of this class by wrapping a gsoap instance.
|
virtualdefault |
Destructor does nothing since the memory is managed by the gsoap context.
Reimplemented from resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the count of contacts in this stratigraphic column rank interpretation.
Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the contact mode of the direct object stratigraphic unit of a contact located at a particular index. Most of time the direct object stratigraphic unit is the stratigraphic unit below the contact.
contactIndex | Zero-based index of the contact for which we look for the contact mode of the direct object stratigraphic unit. |
Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the stratigraphic unit interpretation which is the direct object of a particular contact.
std::out_of_range | If contactIndex is out of range. |
contactIndex | Zero-based index of the contact for which we look for the direct object stratigraphic unit interpretation. |
contactIndex
if it exists, else nullptr
. Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the count of all the contact horizon interpretations which are contained in this stratigraphic column rank.
Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the data object reference of a contact horizon interpretation at a particular index.
std::out_of_range | If index is out of range. |
index | Zero-based index of the contact horizon interpretation we look for the data object reference. |
index
. Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the horizon interpretation which is the contact between two stratigraphic units.
std::out_of_range | If contactIndex is out of range. |
contactIndex | Zero-based index of the contact for which we want to get the corresponding horizon interpretation. |
nullptr
if the horizon corresponding to the contact at position contactIndex
is unknown, else the corresponding horizon interpretation. Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the count of all the stratigraphic unit interpretations which are contained in this stratigraphic column rank.
Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the data object reference of the stratigraphic unit interpretations at a particular index.
std::out_of_range | If index is out of range. |
index | Zero-based index of the stratigraphic unit interpretation we look for the data object reference. |
index
. Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the contact mode of the subject stratigraphic unit of a contact located at a particular index. Most of time the subject stratigraphic unit is the stratigraphic unit on top of the contact.
std::out_of_range | If contactIndex is out of range. |
contactIndex | Zero-based index of the contact for which we look for the contact mode of the subject stratigraphic unit. |
Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Gets the stratigraphic unit interpretation which is the subject of a particular contact.
std::out_of_range | If contactIndex is out of range. |
contactIndex | Zero-based index of the contact for which we look for the subject stratigraphic unit interpretation. |
contactIndex
if it exists, else nullptr
. Implements resqml2::StratigraphicColumnRankInterpretation.
|
inlinefinalvirtual |
Get the standard XML namespace for serializing this data object.
Implements common::AbstractObject.
|
finalvirtual |
Indicates whether this stratigraphic column rank interpretation is a chrono one (it is ordered by ages) or not. One of the consequence is that in a chrono stratigraphic column rank interpretation, each stratigraphic unit interpretation have only one top and only one bottom.
Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Adds a stratigraphic binary "stops" contact to this stratigraphic column rank interpretation.
std::invalid_argument | If subject or directObject is nullptr . |
[in] | subject | The subject of the sentence that defines how the contact was constructed. |
subjectContactMode | The subject contact mode (baselap, erosion, extended or proportional). | |
[in] | directObject | The direct object of the sentence that defines how the contact was constructed. |
directObjectMode | The direct object contact mode (baselap, erosion, extended or proportional). | |
[in] | partOf | (Optional) If non-null, the horizon interpretation that contains this new binary contact. Default value is nullptr . |
Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Adds a stratigraphic unit interpretation to this stratigraphic column rank interpretation. Does add the inverse relationship i.e. from the included stratigraphic unit interpretation to this stratigraphic column rank interpretation.
std::invalid_argument | If stratiUnitInterpretation is nullptr . |
[in] | stratiUnitInterpretation | The stratigraphic unit interpretation to add. |
Implements resqml2::StratigraphicColumnRankInterpretation.
|
finalvirtual |
Sets the horizon interpretation that contains the last (the one with the greater index) contact interpretation within the list of contact interpretation associated to this stratigraphic column rank interpretation.
std::invalid_argument | If partOf is nullptr . |
[in] | partOf | The horizon interpretation that contains the last contact interpretation. |
Implements resqml2::StratigraphicColumnRankInterpretation.
|
static |
The standard XML namespace for serializing this data object.