Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
#include <CompositionalSpecification.h>
Public Member Functions | |
CompositionalSpecification (gsoap_eml2_3::prodml22__AbstractCompositionalModel *fromGsoap) | |
virtual | ~CompositionalSpecification ()=default |
bool | hasMixingRule () const |
gsoap_eml2_3::prodml22__MixingRule | getMixingRule () const |
void | setMixingRule (gsoap_eml2_3::prodml22__MixingRule mixingRule) |
unsigned int | getBinaryInteractionCoefficientCount () const |
std::string | getBinaryInteractionCoefficientFluidComponent1Reference (unsigned int index) const |
bool | hasBinaryInteractionCoefficientFluidComponent2Reference (unsigned int index) const |
std::string | getBinaryInteractionCoefficientFluidComponent2Reference (unsigned int index) const |
void | pushBackBinaryInteractionCoefficient (double value, const std::string &fluidComponent1Reference, const std::string &fluidComponent2Reference="") |
unsigned int | getFluidComponentPropertyCount () const |
void | pushBackFluidComponentProperty (const std::string &fluidComponentReference) |
std::string | getFluidComponentPropertyFluidComponentReference (unsigned int index) const |
Public Member Functions inherited from prodml2_2::PvtSpecification | |
PvtSpecification (gsoap_eml2_3::prodml22__AbstractPvtModel *fromGsoap) | |
virtual | ~PvtSpecification ()=default |
unsigned int | getCoefficientCount () const |
double | getCoefficientValue (unsigned int index) const |
gsoap_eml2_3::prodml22__PvtModelParameterKind | getCoefficientKind (unsigned int index) const |
bool | hasCoefficientName (unsigned int index) const |
std::string | getCoefficientName (unsigned int index) const |
void | pushBackCoefficient (double value, gsoap_eml2_3::prodml22__PvtModelParameterKind kind, const std::string &name="") |
Additional Inherited Members | |
Public Attributes inherited from prodml2_2::PvtSpecification | |
gsoap_eml2_3::prodml22__AbstractPvtModel * | gsoapProxy |
A compositional specification.
|
inline |
Creates an instance of this class by wrapping a gsoap instance.
[in,out] | fromGsoap | If non-null, from gsoap. |
|
virtualdefault |
Destructor does nothing since the memory is managed by the gsoap context.
|
inline |
Gets binary interaction coefficient count
std::out_of_range | Thrown when an out of range error condition occurs. |
|
inline |
Gets binary interaction coefficient fluid component 1 reference
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Gets binary interaction coefficient fluid component 2 reference
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Gets fluid component property count
std::out_of_range | Thrown when an out of range error condition occurs. |
|
inline |
Gets fluid component property fluid component reference
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Gets mixing rule
std::invalid_argument | Thrown when an invalid argument error condition occurs. |
|
inline |
Query if 'index' has binary interaction coefficient fluid component 2 reference
std::out_of_range | Thrown when an out of range error condition occurs. |
index | Zero-based index of the. |
|
inline |
Query if this object has mixing rule
void prodml2_2::CompositionalSpecification::pushBackBinaryInteractionCoefficient | ( | double | value, |
const std::string & | fluidComponent1Reference, | ||
const std::string & | fluidComponent2Reference = "" ) |
Pushes a back binary interaction coefficient
value | The value. |
fluidComponent1Reference | The fluid component 1 reference. |
fluidComponent2Reference | (Optional) The fluid component 2 reference. |
void prodml2_2::CompositionalSpecification::pushBackFluidComponentProperty | ( | const std::string & | fluidComponentReference | ) |
Pushes a back fluid component property
fluidComponentReference | The fluid component reference. |
void prodml2_2::CompositionalSpecification::setMixingRule | ( | gsoap_eml2_3::prodml22__MixingRule | mixingRule | ) |
Sets mixing rule
mixingRule | The mixing rule. |