Package org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPMember
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,IBinding
,ICPPBinding
- All Known Subinterfaces:
ICPPConstructor
,ICPPConstructorSpecialization
,ICPPField
,ICPPFieldTemplate
,ICPPMethod
,ICPPMethodSpecialization
Represents a member of a class. Adds in the visibility attribute.
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionSame asIBinding.getOwner()
.getType()
Returns the type of the member (function type or type of field)int
Returns the accessibility of the member.boolean
isStatic()
Returns whether this is a static member or not.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getLinkage, getName, getNameCharArray, getOwner, getScope
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding
getQualifiedName, getQualifiedNameCharArray, isGloballyQualified
-
Field Details
-
v_private
static final int v_private- See Also:
-
v_protected
static final int v_protected- See Also:
-
v_public
static final int v_public- See Also:
-
-
Method Details
-
getVisibility
int getVisibility()Returns the accessibility of the member. -
getClassOwner
ICPPClassType getClassOwner()Same asIBinding.getOwner()
. -
isStatic
boolean isStatic()Returns whether this is a static member or not.- Since:
- 5.1
-
getType
Returns the type of the member (function type or type of field)- Throws:
DOMException
- Since:
- 5.1
-