Eclipse CDT
7.0

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

All Superinterfaces:
IBinding, ICPPBinding
All Known Subinterfaces:
ICPPConstructor, ICPPField, ICPPMethod

public interface ICPPMember
extends ICPPBinding

Represents a member of a class. Adds in the visibility attribute.


Field Summary
static int v_private
           
static int v_protected
           
static int v_public
           
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAY
 
Method Summary
 ICPPClassType getClassOwner()
          Same as IBinding.getOwner().
 IType getType()
          Returns the type of the member (function type or type of field)
 int getVisibility()
          Returns the accessibility of the member.
 boolean isStatic()
          Returns whether this is a static member or not.
 
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
 

Field Detail

v_private

static final int v_private
See Also:
Constant Field Values

v_protected

static final int v_protected
See Also:
Constant Field Values

v_public

static final int v_public
See Also:
Constant Field Values
Method Detail

getVisibility

int getVisibility()
                  throws DOMException
Returns the accessibility of the member.

Throws:
DOMException

getClassOwner

ICPPClassType getClassOwner()
                            throws DOMException
Same as IBinding.getOwner().

Throws:
DOMException

isStatic

boolean isStatic()
                 throws DOMException
Returns whether this is a static member or not.

Throws:
DOMException
Since:
5.1

getType

IType getType()
              throws DOMException
Returns the type of the member (function type or type of field)

Throws:
DOMException
Since:
5.1

Eclipse CDT
7.0

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