21#include "CompositionalViscositySpecification.h"
50 size_t count =
static_cast<gsoap_eml2_3::prodml22__FrictionTheory*
>(gsoapProxy)->PrsvParameter.size();
51 if (count > (std::numeric_limits<unsigned int>::max)()) {
52 throw std::out_of_range(
"There are too much Prsv parameters");
54 return static_cast<unsigned int>(count);
68 if (index >= getPrsvParameterCount()) {
69 throw std::out_of_range(
"The index is out of range");
72 return static_cast<gsoap_eml2_3::prodml22__FrictionTheory*
>(gsoapProxy)->PrsvParameter[index]->a1;
86 if (index >= getPrsvParameterCount()) {
87 throw std::out_of_range(
"The index is out of range");
90 return static_cast<gsoap_eml2_3::prodml22__FrictionTheory*
>(gsoapProxy)->PrsvParameter[index]->a2;
104 if (index >= getPrsvParameterCount()) {
105 throw std::out_of_range(
"The index is out of range");
108 return static_cast<gsoap_eml2_3::prodml22__FrictionTheory*
>(gsoapProxy)->PrsvParameter[index]->b1;
122 if (index >= getPrsvParameterCount()) {
123 throw std::out_of_range(
"The index is out of range");
126 return static_cast<gsoap_eml2_3::prodml22__FrictionTheory*
>(gsoapProxy)->PrsvParameter[index]->b2;
140 if (index >= getPrsvParameterCount()) {
141 throw std::out_of_range(
"The index is out of range");
144 return static_cast<gsoap_eml2_3::prodml22__FrictionTheory*
>(gsoapProxy)->PrsvParameter[index]->c2;
158 if (index >= getPrsvParameterCount()) {
159 throw std::out_of_range(
"The index is out of range");
162 return static_cast<gsoap_eml2_3::prodml22__FrictionTheory*
>(gsoapProxy)->PrsvParameter[index]->fluidComponentReference;
175 DLL_IMPORT_OR_EXPORT
void pushBackPrsvParameter(
double a1,
double a2,
double b1,
double b2,
double c2,
const std::string & fluidComponentReference);
Definition CompositionalViscositySpecification.h:27
Definition FrictionTheorySpecification.h:29
FrictionTheorySpecification(gsoap_eml2_3::prodml22__FrictionTheory *fromGsoap)
Definition FrictionTheorySpecification.h:37
double getPrsvParameterB2(unsigned int index) const
Definition FrictionTheorySpecification.h:120
std::string getPrsvParameterFluidComponentReference(unsigned int index) const
Definition FrictionTheorySpecification.h:156
unsigned int getPrsvParameterCount() const
Definition FrictionTheorySpecification.h:49
~FrictionTheorySpecification()=default
double getPrsvParameterB1(unsigned int index) const
Definition FrictionTheorySpecification.h:102
void pushBackPrsvParameter(double a1, double a2, double b1, double b2, double c2, const std::string &fluidComponentReference)
double getPrsvParameterC2(unsigned int index) const
Definition FrictionTheorySpecification.h:138
double getPrsvParameterA1(unsigned int index) const
Definition FrictionTheorySpecification.h:66
double getPrsvParameterA2(unsigned int index) const
Definition FrictionTheorySpecification.h:84