 |
Manual for OpenFLUID 2.1.11
|
Go to the documentation of this file.
40 #ifndef __OPENFLUID_FLUIDX_GENERATORDESCRIPTOR_HPP__
41 #define __OPENFLUID_FLUIDX_GENERATORDESCRIPTOR_HPP__
63 GeneratorMethod m_GenMethod;
65 unsigned int m_VarSize;
67 std::string m_GeneratedID;
78 GeneratorMethod GenMethod,
unsigned int VarSize=1);
88 {
return getUnitsClass(); }
90 GeneratorMethod getGeneratorMethod()
const;
94 return (m_VarSize > 1);
99 return (!isVectorVariable());
109 if (isVectorVariable())
121 return m_GeneratedID;
Definition: ModelItemDescriptor.hpp:51
@ DOUBLE
Definition: Value.hpp:66
unsigned int getVariableSize() const
Definition: GeneratorDescriptor.hpp:102
std::string getGeneratedID() const
Definition: GeneratorDescriptor.hpp:119
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: GeneratorDescriptor.hpp:51
openfluid::core::UnitsClass_t getUnitClass() const
Definition: GeneratorDescriptor.hpp:87
Type
Definition: Value.hpp:66
GeneratorMethod
Definition: GeneratorDescriptor.hpp:54
bool isVectorVariable() const
Definition: GeneratorDescriptor.hpp:92
openfluid::core::Value::Type getVariableType() const
Definition: GeneratorDescriptor.hpp:107
bool isScalarVariable() const
Definition: GeneratorDescriptor.hpp:97
Definition: ApplicationException.hpp:47
std::string VariableName_t
Definition: TypeDefs.hpp:131
@ VECTOR
Definition: Value.hpp:66
@ Random
Definition: GeneratorDescriptor.hpp:54
std::string UnitsClass_t
Definition: TypeDefs.hpp:98
virtual ~GeneratorDescriptor()
Definition: GeneratorDescriptor.hpp:74
Generated by
1.8.17