Class OutParameterDeref
The output value pointed to by a pointer parameter to a function, or the output value referred to by a reference parameter to a function.
Example:
void func(int n, char* p, float& r);
- There is an
OutParameterDeref
withgetIndex()=1
that represents the value of*p
(with typechar
) on return from the function. - There is an
OutParameterDeref
withgetIndex()=2
that represents the value ofr
(with typefloat
) on return from the function. - There is no
OutParameterDeref
representing the value ofn
, becausen
is neither a pointer nor a reference.
Import path
import cpp
Direct supertypes
Indirect supertypes
Fields
Predicates
getIndex | |
getIndirectionOutput | INTERNAL: Do not use. |
isParameterDeref | Holds if this is the output value pointed to by a pointer parameter (through |
toString |
Inherited predicates
isParameterDeref | Holds if this is the output value pointed to by a pointer parameter to a function, or the output value referred to by a reference parameter to a function, where the parameter has index | from FunctionOutput |
isParameterDerefOrQualifierObject | Holds if | from FunctionOutput |
isParameterDerefOrQualifierObject | Holds if | from FunctionOutput |
isQualifierObject | Holds if this is the output value pointed to by the | from FunctionOutput |
isQualifierObject | Holds if this is the output value pointed to by the | from FunctionOutput |
isReturnValue | Holds if this is the value returned by a function. | from FunctionOutput |
isReturnValueDeref | Holds if this is the output value pointed to by the return value of a function, if the function returns a pointer, or the output value referred to by the return value of a function, if the function returns a reference. | from FunctionOutput |
isReturnValueDeref | Holds if this is the output value pointed to by the return value of a function, if the function returns a pointer, or the output value referred to by the return value of a function, if the function returns a reference. | from FunctionOutput |