|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMethodDeclaration
Represents the declaration method of a class
Field Summary |
---|
Method Summary | |
---|---|
boolean |
isConstructor()
Returns whether this method is a constructor. |
boolean |
isDestructor()
Returns whether this method is a destructor. |
boolean |
isFriend()
return true if the member is a friend. |
boolean |
isInline()
Returns if this method is inline or not |
boolean |
isOperator()
Returns whether this method is an operator method. |
boolean |
isPureVirtual()
Returns whether this method is declared pure virtual. |
boolean |
isStatic()
Returns if this method is static or not |
boolean |
isVirtual()
Returns whether this method is declared virtual. |
Methods inherited from interface org.eclipse.cdt.core.model.IMember |
---|
getVisibility |
Methods inherited from interface org.eclipse.cdt.core.model.IDeclaration |
---|
isConst, isVolatile |
Methods inherited from interface org.eclipse.cdt.core.model.ICElement |
---|
accept, exists, getAncestor, getCModel, getCProject, getElementName, getElementType, getParent, getPath, getResource, getUnderlyingResource, isReadOnly, isStructureKnown |
Methods inherited from interface org.eclipse.cdt.core.model.ISourceManipulation |
---|
copy, delete, move, rename |
Methods inherited from interface org.eclipse.cdt.core.model.ISourceReference |
---|
getSource, getSourceRange, getTranslationUnit |
Methods inherited from interface org.eclipse.cdt.core.model.IFunctionDeclaration |
---|
getExceptions, getNumberOfParameters, getParameterInitializer, getParameterTypes, getReturnType, getSignature |
Methods inherited from interface org.eclipse.cdt.core.model.IDeclaration |
---|
isConst, isVolatile |
Methods inherited from interface org.eclipse.cdt.core.model.ICElement |
---|
accept, exists, getAncestor, getCModel, getCProject, getElementName, getElementType, getParent, getPath, getResource, getUnderlyingResource, isReadOnly, isStructureKnown |
Methods inherited from interface org.eclipse.cdt.core.model.ISourceManipulation |
---|
copy, delete, move, rename |
Methods inherited from interface org.eclipse.cdt.core.model.ISourceReference |
---|
getSource, getSourceRange, getTranslationUnit |
Method Detail |
---|
boolean isConstructor() throws CModelException
CModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource.boolean isDestructor() throws CModelException
CModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource.boolean isOperator() throws CModelException
CModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource.boolean isPureVirtual() throws CModelException
For example, a source method declared as virtual void m() = 0;
.
CModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource.boolean isStatic() throws CModelException
isStatic
in interface IDeclaration
CModelException
boolean isInline() throws CModelException
CModelException
boolean isVirtual() throws CModelException
CModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource.boolean isFriend() throws CModelException
CModelException
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |