Class InParameter
The input value of a parameter.
Example:
void func(int n, char* p, float& r);
- There is an
InParameterrepresenting the value ofn(with typeint) on entry to the function. - There is an
InParameterrepresenting the value ofp(with typechar*) on entry to the function. - There is an
InParameterrepresenting the “value” of the referencer(with typefloat&) on entry to the function, not the value of the referred-tofloat.
Import path
import cppDirect supertypes
Indirect supertypes
Fields
Predicates
| getIndex | Gets the zero-based index of the parameter. |
| getIndirectionInput | INTERNAL: Do not use. |
| isParameter | Holds if this is the input value of the parameter with index |
| toString |
Inherited predicates
| isParameterDeref | Holds if this is the input value pointed to by a pointer parameter to a function, or the input value referred to by a reference parameter to a function, where the parameter has index | from FunctionInput |
| isParameterDeref | Holds if this is the input value pointed to (through | from FunctionInput |
| isParameterDerefOrQualifierObject | Holds if | from FunctionInput |
| isParameterDerefOrQualifierObject | Holds if | from FunctionInput |
| isParameterOrQualifierAddress | Holds if | from FunctionInput |
| isQualifierAddress | Holds if this is the input value of the | from FunctionInput |
| isQualifierObject | Holds if this is the input value pointed to by the | from FunctionInput |
| isQualifierObject | Holds if this is the input value pointed to by the | from FunctionInput |
| isReturnValueDeref | Holds if this is the input value pointed to by the return value of a function, if the function returns a pointer, or the input value referred to by the return value of a function, if the function returns a reference. | from FunctionInput |
| isReturnValueDeref | Holds if this is the input value pointed to by the return value of a function, if the function returns a pointer, or the input value referred to by the return value of a function, if the function returns a reference. | from FunctionInput |