List of all members.
Detailed Description
This class stores information about a function parameter. 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.
Member Enumeration Documentation
Constructor & Destructor Documentation
osgIntrospection::ParameterInfo::ParameterInfo |
( |
const std::string & |
name, |
|
|
const Type & |
type, |
|
|
int |
attribs, |
|
|
const Value & |
defval = Value() |
|
) |
| [inline] |
Direct initialization constructor.
Member Function Documentation
int osgIntrospection::ParameterInfo::getAttributes |
( |
) |
const [inline] |
Returns the parameter's attributes.
const Value & osgIntrospection::ParameterInfo::getDefaultValue |
( |
) |
const [inline] |
Returns the default value.
const std::string & osgIntrospection::ParameterInfo::getName |
( |
) |
const [inline] |
Returns the parameter's name.
const Type & osgIntrospection::ParameterInfo::getParameterType |
( |
) |
const [inline] |
Returns the parameter's type.
bool osgIntrospection::ParameterInfo::isIn |
( |
) |
const [inline] |
Returns whether the parameter has the IN attribute.
References IN.
Referenced by isInOut().
bool osgIntrospection::ParameterInfo::isInOut |
( |
) |
const [inline] |
Returns whether the parameter has both the IN and the OUT attribute.
References isIn(), and isOut().
bool osgIntrospection::ParameterInfo::isOut |
( |
) |
const [inline] |
Returns whether the parameter has the OUT attribute.
References OUT.
Referenced by isInOut().
The documentation for this class was generated from the following file: