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.ICPPEvaluationReturns 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.booleanReturnstruefor a method declared with a ref-qualifier.booleanisConst()Returnstruefor a constant method.booleanReturnstrueif the type of the implicit object parameter is an rvalue reference.booleanReturnstruefor a volatile method.booleanWhether the function type takes variable number of arguments.Methods inherited from interface org.eclipse.cdt.core.dom.ast.IFunctionType
getParameterTypes, getReturnTypeMethods inherited from interface org.eclipse.cdt.core.dom.ast.IType
clone, isSameType
-
Method Details
-
isConst
boolean isConst()Returnstruefor a constant method. -
isVolatile
boolean isVolatile()Returnstruefor a volatile method. -
hasRefQualifier
boolean hasRefQualifier()Returnstruefor a method declared with a ref-qualifier.- Since:
- 5.9
-
isRValueReference
boolean isRValueReference()Returnstrueif 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:
takesVarArgsin 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.
-