Class InParameterDeref
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.
Example:
void func(int n, char* p, float& r);
- There is an
InParameterDerefwithgetIndex() = 1that represents the value of*p(with typechar) on entry to the function. - There is an
InParameterDerefwithgetIndex() = 2that represents the value ofr(with typefloat) on entry to the function. - There is no
InParameterDerefrepresenting the value ofn, becausenis neither a pointer nor a reference.
Import path
import cppDirect supertypes
Indirect supertypes
Fields
Predicates
| getIndex | Gets the zero-based index of the parameter. |
| getIndirectionInput | INTERNAL: Do not use. |
| isParameterDeref | Holds if this is the input value pointed to (through |
| toString |
Inherited predicates
| isParameter | Holds if this is the input value of the parameter with index | from FunctionInput |
| 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 |
| 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 |