Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPFunction

All Superinterfaces:
IBinding, ICPPBinding, IFunction
All Known Subinterfaces:
ICPPConstructor, ICPPFunctionTemplate, ICPPMethod

public interface ICPPFunction
extends IFunction, ICPPBinding

Binding for c++ functions.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAY
 
Method Summary
 IType[] getExceptionSpecification()
          Returns the exception specification for this function or null if there is no exception specification.
 ICPPFunctionType getType()
          Get the IFunctionType for this function
 boolean isExternC()
          Returns whether this function is declared as extern "C".
 boolean isInline()
          is this an inline function
 boolean isMutable()
          does this function have the mutable storage class specifier
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IFunction
getFunctionScope, getParameters, isAuto, isExtern, isRegister, isStatic, takesVarArgs
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding
getQualifiedName, getQualifiedNameCharArray, isGloballyQualified
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getLinkage, getName, getNameCharArray, getOwner, getScope
 

Method Detail

isMutable

boolean isMutable()
                  throws DOMException
does this function have the mutable storage class specifier

Throws:
DOMException

isInline

boolean isInline()
                 throws DOMException
is this an inline function

Specified by:
isInline in interface IFunction
Throws:
DOMException - if this is a problem binding.

isExternC

boolean isExternC()
                  throws DOMException
Returns whether this function is declared as extern "C".

Throws:
DOMException
Since:
5.0

getExceptionSpecification

IType[] getExceptionSpecification()
                                  throws DOMException
Returns the exception specification for this function or null if there is no exception specification.

Throws:
DOMException
Since:
5.1

getType

ICPPFunctionType getType()
                         throws DOMException
Get the IFunctionType for this function

Specified by:
getType in interface IFunction
Throws:
DOMException - if this is a problem binding.
Since:
5.1

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.