Public Types | |
enum | ParameterAttributes { NONE = 0, IN = 1, OUT = 2, INOUT = IN | OUT } |
Public Member Functions | |
ParameterInfo (const std::string &name, const Type &type, int attribs, const Value &defval=Value()) | |
Direct initialization constructor. | |
const std::string & | getName () const |
Returns the parameter's name. | |
const Type & | getParameterType () const |
Returns the parameter's type. | |
int | getAttributes () const |
Returns the parameter's attributes. | |
const Value & | getDefaultValue () const |
Returns the default value. | |
bool | isIn () const |
Returns whether the parameter has the IN attribute. | |
bool | isOut () const |
Returns whether the parameter has the OUT attribute. | |
bool | isInOut () const |
Returns whether the parameter has both the IN and the OUT attribute. |
A parameter is defined by its name, its type, its position within the parameter list, and zero or more attributes. Attributes describe how the parameter behave, for example whether it is an input or an output parameter.
|
|
|
Direct initialization constructor.
|
|
Returns the parameter's attributes.
|
|
Returns the default value.
|
|
Returns the parameter's name.
|
|
Returns the parameter's type.
|
|
Returns whether the parameter has the IN attribute.
|
|
Returns whether the parameter has both the IN and the OUT attribute.
|
|
Returns whether the parameter has the OUT attribute.
|