Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
prodml2_2::FluidSystem Class Reference

#include <FluidSystem.h>

Inheritance diagram for prodml2_2::FluidSystem:

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::RockFluidOrganizationInterpretationgetRockFluidOrganization () const
 
std::vector< class FluidCharacterization * > getFluidCharacterizationSet () const
 
uint64_t getFluidCharacterizationCount () const
 
class FluidCharacterizationgetFluidCharacterization (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"
 

Detailed Description

A fluid system.

Constructor & Destructor Documentation

◆ FluidSystem() [1/4]

prodml2_2::FluidSystem::FluidSystem ( gsoap_resqml2_0_1::eml20__DataObjectReference * partialObject)
inline

Only to be used in partial transfer context

Parameters
[in,out]partialObjectIf non-null, the partial object.

◆ FluidSystem() [2/4]

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.

Exceptions
std::invalid_argumentIf repo == nullptr.
Parameters
[in,out]repoThe dataobject repo where the underlying gsoap proxy is going to be created.
guidThe guid to set to this instance. If empty then a new guid will be generated.
titleThe title.
temperatureValueThe temperature value in standard conditions.
temperatureUomThe temperature uom.
pressureValueThe pressure value in standard conditions.
pressureUomThe pressure uom.
reservoirFluidKindThe reservoir fluid kind.
gasOilRatioThe gas oil ratio.
gasOilRatioUomThe gas oil ratio uom.

◆ FluidSystem() [3/4]

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.

Exceptions
std::invalid_argumentIf repo == nullptr.
Parameters
[in,out]repoThe dataobject repo where the underlying gsoap proxy is going to be created.
guidThe guid to set to this instance. If empty then a new guid will be generated.
titleThe title.
referenceConditionA wellknown couple of temperature-pressure in standard conditions.
reservoirFluidKindThe reservoir fluid kind.
gasOilRatioThe gas oil ratio.
gasOilRatioUomThe gas oil ratio uom.

◆ FluidSystem() [4/4]

prodml2_2::FluidSystem::FluidSystem ( gsoap_eml2_3::prodml22__FluidSystem * fromGsoap)
inline

Creates an instance of this class by wrapping a gsoap instance.

Parameters
[in,out]fromGsoapIf non-null, from gsoap.

◆ ~FluidSystem()

prodml2_2::FluidSystem::~FluidSystem ( )
default

Destructor does nothing since the memory is managed by the gsoap context.

Member Function Documentation

◆ getFluidCharacterization()

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.

Exceptions
std::out_of_rangeIf index is out of the range of the representation set.
Parameters
indexZero-based index of the fluid characterization we look for.
Returns
A pointer to the fluid characterization at index.

◆ getFluidCharacterizationCount()

uint64_t prodml2_2::FluidSystem::getFluidCharacterizationCount ( ) const

Get the fluid characterizations count of this fluid system.

Returns
The fluid characterizations count of this fluid system.

◆ getFluidCharacterizationSet()

std::vector< class FluidCharacterization * > prodml2_2::FluidSystem::getFluidCharacterizationSet ( ) const

Gets all the fluid characterizations of this fluid system.

Returns
A vector of all the fluid characterizations of this fluid system.

◆ getRockFluidOrganization()

resqml2::RockFluidOrganizationInterpretation * prodml2_2::FluidSystem::getRockFluidOrganization ( ) const

Gets the associated Rock fluid organization

Returns
Null if it fails, else the associated Rock fluid organization.

◆ getRockFluidOrganizationDor()

common::DataObjectReference prodml2_2::FluidSystem::getRockFluidOrganizationDor ( ) const

Gets the associated Rock fluid organization dor

Returns
Empty if it fails, else the associated Rock fluid organization dor.

◆ getSaturationPressurePointKind()

gsoap_eml2_3::prodml22__SaturationPointKind prodml2_2::FluidSystem::getSaturationPressurePointKind ( ) const

Gets the saturation pressure point kind of this fluid system

Returns
The saturation pressure point kind of this fluid system.

◆ getSaturationPressureUom()

gsoap_eml2_3::eml23__PressureUom prodml2_2::FluidSystem::getSaturationPressureUom ( ) const

Gets the saturation pressure uom of this fluid system

Returns
The saturation pressure uom of this fluid system.

◆ getSaturationPressureValue()

double prodml2_2::FluidSystem::getSaturationPressureValue ( ) const

Gets the saturation pressure of this fluid system

Returns
The saturation pressure of this fluid system.

◆ getSolutionGORUom()

gsoap_eml2_3::eml23__VolumePerVolumeUom prodml2_2::FluidSystem::getSolutionGORUom ( ) const

Gets solution gas-oil ratio uom

Returns
The solution gas-oil ratio uom.

◆ getSolutionGORValue()

double prodml2_2::FluidSystem::getSolutionGORValue ( ) const

Gets solution gas-oil ratio value

Returns
The solution gas-oil ratio value.

◆ getStandardPressureUom()

gsoap_eml2_3::eml23__PressureUom prodml2_2::FluidSystem::getStandardPressureUom ( ) const

Gets standard pressure uom

Returns
The standard pressure uom.

◆ getStandardPressureValue()

double prodml2_2::FluidSystem::getStandardPressureValue ( ) const

Gets standard pressure value

Returns
The standard pressure value.

◆ getStandardTemperatureUom()

gsoap_eml2_3::eml23__ThermodynamicTemperatureUom prodml2_2::FluidSystem::getStandardTemperatureUom ( ) const

Gets standard temperature uom

Returns
The standard temperature uom.

◆ getStandardTemperatureValue()

double prodml2_2::FluidSystem::getStandardTemperatureValue ( ) const

Gets standard temperature value

Returns
The standard temperature value.

◆ getXmlNamespace()

std::string prodml2_2::FluidSystem::getXmlNamespace ( ) const
inlinefinal

Get the standard XML namespace for serializing this data object.

◆ getXmlTag()

virtual std::string prodml2_2::FluidSystem::getXmlTag ( ) const
inlinevirtual

Get the standard XML tag without XML namespace for serializing this data object.

Returns
The XML tag.

◆ hasSaturationPressureValue()

bool prodml2_2::FluidSystem::hasSaturationPressureValue ( ) const

Checks if this fluid system has a defined saturation pressure

Returns
True if this fluid system has a defined saturation pressure else false.

◆ loadTargetRelationships()

void prodml2_2::FluidSystem::loadTargetRelationships ( )
final

Loads target relationships

◆ setRockFluidOrganization()

void prodml2_2::FluidSystem::setRockFluidOrganization ( resqml2 ::RockFluidOrganizationInterpretation * rockFluidOrg)

Formation water Stock tank oil Natural gas Sets the associated Rock fluid organization

Parameters
[in,out]rockFluidUnitIf non-null, the rock fluid unit.

◆ setSaturationPressure()

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

Member Data Documentation

◆ XML_NS

constexpr char const* prodml2_2::FluidSystem::XML_NS = "prodml22"
staticconstexpr

The standard XML namespace for serializing this data object.

◆ XML_TAG

constexpr char const* prodml2_2::FluidSystem::XML_TAG = "FluidSystem"
staticconstexpr

The standard XML tag without XML namespace for serializing this data object.

Returns
The XML tag.

The documentation for this class was generated from the following file: