Class Parameter is an identifier type for representing parameters of functions.
More...
#include <identifier.h>
Detailed Description
Class Parameter is an identifier type for representing parameters of functions.
Constructor & Destructor Documentation
crp::Parameter::Parameter |
( |
const std::string & |
name = "" , |
|
|
const std::string & |
type = "" , |
|
|
const SPtr< Scope > & |
scope = 0 |
|
) |
| |
Creates a new parameter.
- Parameters:
-
name | Name of the identifier |
type | Type identifier of the parameter |
virtual crp::Parameter::~Parameter |
( |
| ) |
[inline, virtual] |
Member Function Documentation
const std::string& crp::Parameter::get_parameter_id |
( |
| ) |
const [inline] |
Returns the type of the parameter.
- Parameters:
-
std::string crp::Parameter::get_parameter_type |
( |
| ) |
const |
Returns the type of the parameter.
- Parameters:
-
const std::string& crp::Parameter::get_string_value |
( |
| ) |
const [inline] |
Returns the string default value of the parameter.
- Returns:
- Default value
const DPtr& crp::Parameter::get_value |
( |
| ) |
const [inline] |
Returns the default value of the parameter.
- Returns:
- Default value
void crp::Parameter::parse_value |
( |
Engine * |
engine | ) |
|
Parses the parameter value.
- Parameters:
-
void crp::Parameter::set_property |
( |
const std::string & |
value | ) |
[inline] |
Sets the parameter type property.
- Parameters:
-
void crp::Parameter::set_value |
( |
const std::string & |
value | ) |
[inline] |
Sets the value property from string.
void crp::Parameter::set_value |
( |
const DPtr & |
value | ) |
[inline] |
Sets the value property of the parameter.
- Parameters:
-
Field Documentation
String value of the parameter.
Real type name of the parameter.
Default value of the parameter.
The documentation for this class was generated from the following file: