HyperspaceExplorer 0.7.1
|
Class with factory methods to create a FunctionParameter. More...
#include <FunctionParameterFactory.h>
Public Member Functions | |
template<typename T > | |
FunctionParameter::parameter_ptr_type | createParameterWithValue (const std::string &name, const T &value, const std::string &description="") |
Create a FunctionParameter from a value of type T . | |
template<typename T > | |
FunctionParameter::parameter_ptr_type | createParameterWithDefault (const std::string &name, const T &defaultValue, const std::string &description="") |
Create a FunctionParameter from a default value of type T . |
Class with factory methods to create a FunctionParameter.
FunctionParameter::parameter_ptr_type FunctionParameterFactory::createParameterWithDefault | ( | const std::string & | name, |
const T & | defaultValue, | ||
const std::string & | description = "" |
||
) | [inline] |
Create a FunctionParameter from a default value of type T
.
T | Type of the parameter to be declared. |
References createParameterWithValue().
FunctionParameter::parameter_ptr_type FunctionParameterFactory::createParameterWithValue | ( | const std::string & | name, |
const T & | value, | ||
const std::string & | description = "" |
||
) | [inline] |
Create a FunctionParameter from a value of type T
.
T | Type of the parameter to be declared. |
Referenced by createParameterWithDefault().