org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPMethod
- All Superinterfaces:
- IBinding, ICPPBinding, ICPPFunction, ICPPMember, IFunction
- All Known Subinterfaces:
- ICPPConstructor
public interface ICPPMethod
- extends ICPPFunction, ICPPMember
Base interface for methods, also used for constructors.
Method Summary |
boolean |
isDestructor()
is this a destructor
returns true if its name starts with '~' |
boolean |
isImplicit()
Returns whether this is an implicit method (constructor, assignment operator, etc.) |
boolean |
isPureVirtual()
Returns whether this is a pure abstract method |
boolean |
isVirtual()
is this a virtual method |
EMPTY_CPPMETHOD_ARRAY
static final ICPPMethod[] EMPTY_CPPMETHOD_ARRAY
isVirtual
boolean isVirtual()
throws DOMException
- is this a virtual method
- Throws:
DOMException
isDestructor
boolean isDestructor()
- is this a destructor
returns true if its name starts with '~'
isImplicit
boolean isImplicit()
- Returns whether this is an implicit method (constructor, assignment operator, etc.)
- Since:
- 4.0
isPureVirtual
boolean isPureVirtual()
throws DOMException
- Returns whether this is a pure abstract method
- Throws:
DOMException
- Since:
- 5.1
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.