89 DLL_IMPORT_OR_EXPORT
bool hasMixingRule()
const {
return static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->MixingRule !=
nullptr; }
98 DLL_IMPORT_OR_EXPORT gsoap_eml2_3::prodml22__MixingRule
getMixingRule()
const {
99 if (!hasMixingRule()) {
throw std::invalid_argument(
"There is no mixing rule to get"); }
100 return *
static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->MixingRule;
108 DLL_IMPORT_OR_EXPORT
void setMixingRule(gsoap_eml2_3::prodml22__MixingRule mixingRule);
118 if (
static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->BinaryInteractionCoefficientSet ==
nullptr) {
122 size_t count =
static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->BinaryInteractionCoefficientSet->BinaryInteractionCoefficient.size();
123 if (count > (std::numeric_limits<unsigned int>::max)()) {
124 throw std::out_of_range(
"There are too much coefficient");
126 return static_cast<unsigned int>(count);
140 if (index >= getBinaryInteractionCoefficientCount()) {
141 throw std::out_of_range(
"The index is out of range");
144 return static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->BinaryInteractionCoefficientSet->BinaryInteractionCoefficient[index]->fluidComponent1Reference;
158 if (index >= getBinaryInteractionCoefficientCount()) {
159 throw std::out_of_range(
"The index is out of range");
162 return static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->BinaryInteractionCoefficientSet->BinaryInteractionCoefficient[index]->fluidComponent2Reference !=
nullptr;
176 if (!hasBinaryInteractionCoefficientFluidComponent2Reference(index)) {
177 throw std::out_of_range(
"There is no FluidComponent2Reference at this index");
180 return *
static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->BinaryInteractionCoefficientSet->BinaryInteractionCoefficient[index]->fluidComponent2Reference;
200 if (
static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->ComponentPropertySet ==
nullptr) {
204 size_t count =
static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->ComponentPropertySet->FluidComponentProperty.size();
205 if (count > (std::numeric_limits<unsigned int>::max)()) {
206 throw std::out_of_range(
"There are too much component property");
208 return static_cast<unsigned int>(count);
228 if (
static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->ComponentPropertySet ==
nullptr ||
229 static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->ComponentPropertySet->FluidComponentProperty.size() <= index) {
230 throw std::out_of_range(
"The FluidComponentProperty at this index does not exist");
233 return static_cast<gsoap_eml2_3::prodml22__AbstractCompositionalModel*
>(gsoapProxy)->ComponentPropertySet->FluidComponentProperty[index]->fluidComponentReference;
236 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_OPTIONAL_ATTRIBUTE(FluidComponentProperty, AcentricFactor,
double)
237 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_OPTIONAL_ATTRIBUTE(FluidComponentProperty, OmegaA,
double)
238 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_OPTIONAL_ATTRIBUTE(FluidComponentProperty, OmegaB,
double)
239 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_OPTIONAL_ATTRIBUTE(FluidComponentProperty, VolumeShiftParameter,
double)
240 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_OPTIONAL_ATTRIBUTE(FluidComponentProperty, Parachor,
double)
241 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_OPTIONAL_ATTRIBUTE(FluidComponentProperty, Remark, std::string)
243 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, CriticalPressure, std::string)
244 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, CriticalTemperature, gsoap_eml2_3::eml23__ThermodynamicTemperatureUom)
245 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, ReferenceTemperatureZJ, gsoap_eml2_3::eml23__ThermodynamicTemperatureUom)
246 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, CriticalViscosity, gsoap_eml2_3::eml23__DynamicViscosityUom)
247 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, CompactVolume, std::string)
248 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, CriticalVolume, gsoap_eml2_3::eml23__MolarVolumeUom)
249 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, PartialMolarVolume, gsoap_eml2_3::eml23__MolarVolumeUom)
250 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, MassDensity, std::string)
251 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, PartialMolarDensity, std::string)
252 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, ReferenceDensityZJ, std::string)
253 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, ReferenceGravityZJ, gsoap_eml2_3::eml23__APIGravityUom)
254 GETTER_AND_SETTER_FLUID_COMPONENT_PROPERTY_MEASURE_ATTRIBUTE(FluidComponentProperty, ViscousCompressibility, gsoap_eml2_3::eml23__ReciprocalPressureUom)