Package org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPFunctionType
- All Superinterfaces:
Cloneable
,IFunctionType
,IType
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IType
EMPTY_TYPE_ARRAY, TYPE_MATCHER
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.cdt.internal.core.dom.parser.cpp.ICPPEvaluation
Returns the evaluation object for the noexcept specifier or null if there is no noexcept specifier.Deprecated.function types don't relate to this pointers at all.boolean
Returnstrue
for a method declared with a ref-qualifier.boolean
isConst()
Returnstrue
for a constant method.boolean
Returnstrue
if the type of the implicit object parameter is an rvalue reference.boolean
Returnstrue
for a volatile method.boolean
Whether the function type takes variable number of arguments.Methods inherited from interface org.eclipse.cdt.core.dom.ast.IFunctionType
getParameterTypes, getReturnType
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IType
clone, isSameType
-
Method Details
-
isConst
boolean isConst()Returnstrue
for a constant method. -
isVolatile
boolean isVolatile()Returnstrue
for a volatile method. -
hasRefQualifier
boolean hasRefQualifier()Returnstrue
for a method declared with a ref-qualifier.- Since:
- 5.9
-
isRValueReference
boolean isRValueReference()Returnstrue
if the type of the implicit object parameter is an rvalue reference.- Since:
- 5.9
-
getNoexceptSpecifier
org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPEvaluation getNoexceptSpecifier()Returns the evaluation object for the noexcept specifier or null if there is no noexcept specifier.- Since:
- 6.7
- Restriction:
- This method is not intended to be referenced by clients.
-
takesVarArgs
boolean takesVarArgs()Whether the function type takes variable number of arguments.- Specified by:
takesVarArgs
in interfaceIFunctionType
- Since:
- 5.2
-
getThisType
Deprecated.function types don't relate to this pointers at all.- Restriction:
- This method is not intended to be referenced by clients and should be removed.
-