Fesapi 2.9.0.1
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_3::eml23__ThermodynamicTemperatureUom temperatureUom, double pressureValue, gsoap_eml2_3::eml23__PressureUom pressureUom, gsoap_eml2_3::prodml22__ReservoirFluidKind reservoirFluidKind, double gasOilRatio, gsoap_eml2_3::eml23__VolumePerVolumeUom gasOilRatioUom) | |
Creates an instance of this class in a gsoap context. | |
FluidSystem (common ::DataObjectRepository *repo, const std::string &guid, const std::string &title, gsoap_eml2_3::eml23__ReferenceCondition referenceCondition, gsoap_eml2_3::prodml22__ReservoirFluidKind reservoirFluidKind, double gasOilRatio, gsoap_eml2_3::eml23__VolumePerVolumeUom gasOilRatioUom) | |
Creates an instance of this class in a gsoap context. | |
FluidSystem (gsoap_eml2_3::prodml22__FluidSystem *fromGsoap) | |
~FluidSystem ()=default | |
double | getStandardTemperatureValue () const |
gsoap_eml2_3::eml23__ThermodynamicTemperatureUom | getStandardTemperatureUom () const |
double | getStandardPressureValue () const |
gsoap_eml2_3::eml23__PressureUom | getStandardPressureUom () const |
double | getSolutionGORValue () const |
gsoap_eml2_3::eml23__VolumePerVolumeUom | getSolutionGORUom () const |
void | setSaturationPressure (double value, gsoap_eml2_3::eml23__PressureUom pressureUom, gsoap_eml2_3::prodml22__SaturationPointKind saturationPointKind) |
bool | hasSaturationPressureValue () const |
double | getSaturationPressureValue () const |
gsoap_eml2_3::eml23__PressureUom | getSaturationPressureUom () const |
gsoap_eml2_3::prodml22__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 |
Static Public Attributes | |
static constexpr char const * | XML_TAG = "FluidSystem" |
static constexpr char const * | XML_NS = "prodml22" |
A fluid system.
|
inline |
Only to be used in partial transfer context
[in,out] | partialObject | If non-null, the partial object. |
prodml2_2::FluidSystem::FluidSystem | ( | common ::DataObjectRepository * | repo, |
const std::string & | guid, | ||
const std::string & | title, | ||
double | temperatureValue, | ||
gsoap_eml2_3::eml23__ThermodynamicTemperatureUom | temperatureUom, | ||
double | pressureValue, | ||
gsoap_eml2_3::eml23__PressureUom | pressureUom, | ||
gsoap_eml2_3::prodml22__ReservoirFluidKind | reservoirFluidKind, | ||
double | gasOilRatio, | ||
gsoap_eml2_3::eml23__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_2::FluidSystem::FluidSystem | ( | common ::DataObjectRepository * | repo, |
const std::string & | guid, | ||
const std::string & | title, | ||
gsoap_eml2_3::eml23__ReferenceCondition | referenceCondition, | ||
gsoap_eml2_3::prodml22__ReservoirFluidKind | reservoirFluidKind, | ||
double | gasOilRatio, | ||
gsoap_eml2_3::eml23__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_2::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_2::FluidSystem::getFluidCharacterizationCount | ( | ) | const |
Get the fluid characterizations count of this fluid system.
std::vector< class FluidCharacterization * > prodml2_2::FluidSystem::getFluidCharacterizationSet | ( | ) | const |
Gets all the fluid characterizations of this fluid system.
resqml2::RockFluidOrganizationInterpretation * prodml2_2::FluidSystem::getRockFluidOrganization | ( | ) | const |
Gets the associated Rock fluid organization
common::DataObjectReference prodml2_2::FluidSystem::getRockFluidOrganizationDor | ( | ) | const |
Gets the associated Rock fluid organization dor
gsoap_eml2_3::prodml22__SaturationPointKind prodml2_2::FluidSystem::getSaturationPressurePointKind | ( | ) | const |
Gets the saturation pressure point kind of this fluid system
gsoap_eml2_3::eml23__PressureUom prodml2_2::FluidSystem::getSaturationPressureUom | ( | ) | const |
Gets the saturation pressure uom of this fluid system
double prodml2_2::FluidSystem::getSaturationPressureValue | ( | ) | const |
Gets the saturation pressure of this fluid system
gsoap_eml2_3::eml23__VolumePerVolumeUom prodml2_2::FluidSystem::getSolutionGORUom | ( | ) | const |
Gets solution gas-oil ratio uom
double prodml2_2::FluidSystem::getSolutionGORValue | ( | ) | const |
Gets solution gas-oil ratio value
gsoap_eml2_3::eml23__PressureUom prodml2_2::FluidSystem::getStandardPressureUom | ( | ) | const |
Gets standard pressure uom
double prodml2_2::FluidSystem::getStandardPressureValue | ( | ) | const |
Gets standard pressure value
gsoap_eml2_3::eml23__ThermodynamicTemperatureUom prodml2_2::FluidSystem::getStandardTemperatureUom | ( | ) | const |
Gets standard temperature uom
double prodml2_2::FluidSystem::getStandardTemperatureValue | ( | ) | const |
Gets standard temperature value
|
inlinefinal |
Get the standard XML namespace for serializing this data object.
|
inlinevirtual |
Get the standard XML tag without XML namespace for serializing this data object.
bool prodml2_2::FluidSystem::hasSaturationPressureValue | ( | ) | const |
Checks if this fluid system has a defined saturation pressure
|
final |
Loads target relationships
void prodml2_2::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_2::FluidSystem::setSaturationPressure | ( | double | value, |
gsoap_eml2_3::eml23__PressureUom | pressureUom, | ||
gsoap_eml2_3::prodml22__SaturationPointKind | saturationPointKind ) |
Sets the saturation pressure of this fluid system
|
staticconstexpr |
The standard XML namespace for serializing this data object.
|
staticconstexpr |
The standard XML tag without XML namespace for serializing this data object.