Fesapi
2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
#include <FluidSystem.h>
Public Member Functions | |
FluidSystem (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
FluidSystem (common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double temperatureValue, gsoap_eml2_2::eml22__ThermodynamicTemperatureUom temperatureUom, double pressureValue, gsoap_eml2_2::eml22__PressureUom pressureUom, gsoap_eml2_2::prodml21__ReservoirFluidKind reservoirFluidKind, double gasOilRatio, gsoap_eml2_2::eml22__VolumePerVolumeUom gasOilRatioUom) | |
Creates an instance of this class in a gsoap context. More... | |
FluidSystem (common::DataObjectRepository *repo, const std::string &guid, const std::string &title, gsoap_eml2_2::eml22__ReferenceCondition referenceCondition, gsoap_eml2_2::prodml21__ReservoirFluidKind reservoirFluidKind, double gasOilRatio, gsoap_eml2_2::eml22__VolumePerVolumeUom gasOilRatioUom) | |
Creates an instance of this class in a gsoap context. More... | |
FluidSystem (gsoap_eml2_2::prodml21__FluidSystem *fromGsoap) | |
~FluidSystem ()=default | |
double | getStandardTemperatureValue () const |
gsoap_eml2_2::eml22__ThermodynamicTemperatureUom | getStandardTemperatureUom () const |
double | getStandardPressureValue () const |
gsoap_eml2_2::eml22__PressureUom | getStandardPressureUom () const |
double | getSolutionGORValue () const |
gsoap_eml2_2::eml22__VolumePerVolumeUom | getSolutionGORUom () const |
void | setSaturationPressure (double value, gsoap_eml2_2::eml22__PressureUom pressureUom, gsoap_eml2_2::prodml21__SaturationPointKind saturationPointKind) |
bool | hasSaturationPressureValue () const |
double | getSaturationPressureValue () const |
gsoap_eml2_2::eml22__PressureUom | getSaturationPressureUom () const |
gsoap_eml2_2::prodml21__SaturationPointKind | getSaturationPressurePointKind () const |
void | setRockFluidOrganization (resqml2::RockFluidOrganizationInterpretation *rockFluidOrg) |
common::DataObjectReference | getRockFluidOrganizationDor () const |
resqml2::RockFluidOrganizationInterpretation * | getRockFluidOrganization () const |
std::vector< class FluidCharacterization * > | getFluidCharacterizationSet () const |
uint64_t | getFluidCharacterizationCount () const |
class FluidCharacterization * | getFluidCharacterization (uint64_t index) const |
virtual std::string | getXmlTag () const |
std::string | getXmlNamespace () const final |
void | loadTargetRelationships () final |
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_TAG |
static const char * | XML_NS |
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) |
A fluid system.
|
inline |
Only to be used in partial transfer context
[in,out] | partialObject | If non-null, the partial object. |
prodml2_1::FluidSystem::FluidSystem | ( | common::DataObjectRepository * | repo, |
const std::string & | guid, | ||
const std::string & | title, | ||
double | temperatureValue, | ||
gsoap_eml2_2::eml22__ThermodynamicTemperatureUom | temperatureUom, | ||
double | pressureValue, | ||
gsoap_eml2_2::eml22__PressureUom | pressureUom, | ||
gsoap_eml2_2::prodml21__ReservoirFluidKind | reservoirFluidKind, | ||
double | gasOilRatio, | ||
gsoap_eml2_2::eml22__VolumePerVolumeUom | gasOilRatioUom | ||
) |
Creates an instance of this class in a gsoap context.
std::invalid_argument | If repo == nullptr . |
[in,out] | repo | The dataobject repo where the underlying gsoap proxy is going to be created. |
guid | The guid to set to this instance. If empty then a new guid will be generated. | |
title | The title. | |
temperatureValue | The temperature value in standard conditions. | |
temperatureUom | The temperature uom. | |
pressureValue | The pressure value in standard conditions. | |
pressureUom | The pressure uom. | |
reservoirFluidKind | The reservoir fluid kind. | |
gasOilRatio | The gas oil ratio. | |
gasOilRatioUom | The gas oil ratio uom. |
prodml2_1::FluidSystem::FluidSystem | ( | common::DataObjectRepository * | repo, |
const std::string & | guid, | ||
const std::string & | title, | ||
gsoap_eml2_2::eml22__ReferenceCondition | referenceCondition, | ||
gsoap_eml2_2::prodml21__ReservoirFluidKind | reservoirFluidKind, | ||
double | gasOilRatio, | ||
gsoap_eml2_2::eml22__VolumePerVolumeUom | gasOilRatioUom | ||
) |
Creates an instance of this class in a gsoap context.
std::invalid_argument | If repo == nullptr . |
[in,out] | repo | The dataobject repo where the underlying gsoap proxy is going to be created. |
guid | The guid to set to this instance. If empty then a new guid will be generated. | |
title | The title. | |
referenceCondition | A wellknown couple of temperature-pressure in standard conditions. | |
reservoirFluidKind | The reservoir fluid kind. | |
gasOilRatio | The gas oil ratio. | |
gasOilRatioUom | The gas oil ratio uom. |
|
inline |
Creates an instance of this class by wrapping a gsoap instance.
[in,out] | fromGsoap | If non-null, from gsoap. |
|
default |
Destructor does nothing since the memory is managed by the gsoap context.
class FluidCharacterization* prodml2_1::FluidSystem::getFluidCharacterization | ( | uint64_t | index | ) | const |
Gets a particular fluid characterization of this fluid system according to its position in the fluid characterizations ordering.
std::out_of_range | If index is out of the range of the representation set. |
index | Zero-based index of the fluid characterization we look for. |
index
. uint64_t prodml2_1::FluidSystem::getFluidCharacterizationCount | ( | ) | const |
Get the fluid characterizations count of this fluid system.
std::vector<class FluidCharacterization *> prodml2_1::FluidSystem::getFluidCharacterizationSet | ( | ) | const |
Gets all the fluid characterizations of this fluid system.
resqml2::RockFluidOrganizationInterpretation* prodml2_1::FluidSystem::getRockFluidOrganization | ( | ) | const |
Gets the associated Rock fluid organization
common::DataObjectReference prodml2_1::FluidSystem::getRockFluidOrganizationDor | ( | ) | const |
Gets the associated Rock fluid organization dor
gsoap_eml2_2::prodml21__SaturationPointKind prodml2_1::FluidSystem::getSaturationPressurePointKind | ( | ) | const |
Gets the saturation pressure point kind of this fluid system
gsoap_eml2_2::eml22__PressureUom prodml2_1::FluidSystem::getSaturationPressureUom | ( | ) | const |
Gets the saturation pressure uom of this fluid system
double prodml2_1::FluidSystem::getSaturationPressureValue | ( | ) | const |
Gets the saturation pressure of this fluid system
gsoap_eml2_2::eml22__VolumePerVolumeUom prodml2_1::FluidSystem::getSolutionGORUom | ( | ) | const |
Gets solution gas-oil ratio uom
double prodml2_1::FluidSystem::getSolutionGORValue | ( | ) | const |
Gets solution gas-oil ratio value
gsoap_eml2_2::eml22__PressureUom prodml2_1::FluidSystem::getStandardPressureUom | ( | ) | const |
Gets standard pressure uom
double prodml2_1::FluidSystem::getStandardPressureValue | ( | ) | const |
Gets standard pressure value
gsoap_eml2_2::eml22__ThermodynamicTemperatureUom prodml2_1::FluidSystem::getStandardTemperatureUom | ( | ) | const |
Gets standard temperature uom
double prodml2_1::FluidSystem::getStandardTemperatureValue | ( | ) | const |
Gets standard temperature value
|
inlinefinalvirtual |
Get the standard XML namespace for serializing this data object.
Implements common::AbstractObject.
|
inlinevirtual |
Get the standard XML tag without XML namespace for serializing this data object.
Implements common::AbstractObject.
bool prodml2_1::FluidSystem::hasSaturationPressureValue | ( | ) | const |
Checks if this fluid system has a defined saturation pressure
|
finalvirtual |
Loads target relationships
Implements common::AbstractObject.
void prodml2_1::FluidSystem::setRockFluidOrganization | ( | resqml2::RockFluidOrganizationInterpretation * | rockFluidOrg | ) |
Formation water Stock tank oil Natural gas Sets the associated Rock fluid organization
[in,out] | rockFluidUnit | If non-null, the rock fluid unit. |
void prodml2_1::FluidSystem::setSaturationPressure | ( | double | value, |
gsoap_eml2_2::eml22__PressureUom | pressureUom, | ||
gsoap_eml2_2::prodml21__SaturationPointKind | saturationPointKind | ||
) |
Sets the saturation pressure of this fluid system
|
static |
The standard XML namespace for serializing this data object.
|
static |
The standard XML tag without XML namespace for serializing this data object.