|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICPPClassType
Represents a C++ class.
Field Summary | |
---|---|
static ICPPClassType[] |
EMPTY_CLASS_ARRAY
|
static int |
k_class
|
static int |
v_private
|
static int |
v_protected
|
static int |
v_public
|
Fields inherited from interface org.eclipse.cdt.core.dom.ast.ICompositeType |
---|
k_struct, k_union |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IType |
---|
EMPTY_TYPE_ARRAY, TYPE_MATCHER |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
EMPTY_BINDING_ARRAY |
Method Summary | |
---|---|
IField |
findField(java.lang.String name)
findField is restated here to point out that this method looks through the inheritance tree of this class while looking for a field with the given name If no field is found, null is returned, if the name is found to be ambiguous a IProblemBinding is returned. |
ICPPMethod[] |
getAllDeclaredMethods()
Returns a list of ICPPMethod objects representing all method explicitly declared by this class and inherited from base classes. |
ICPPBase[] |
getBases()
Returns an array of base class relationships. |
ICPPConstructor[] |
getConstructors()
Returns an array of ICPPConstructor objects representing the constructors for this class. |
ICPPField[] |
getDeclaredFields()
Returns a list of ICPPField objects representing fields declared in this class. |
ICPPMethod[] |
getDeclaredMethods()
Returns a list of ICPPMethod objects representing all methods explicitly declared by this class. |
IField[] |
getFields()
Get fields is restated here just to point out that this method returns a list of ICPPField objects representing all fields, declared or inherited. |
IBinding[] |
getFriends()
Returns an array of bindings for those classes/functions declared as friends of this class. |
ICPPMethod[] |
getMethods()
Returns a list of ICPPMethod objects representing all methods defined for this class including those declared, inherited, or generated (e.g. default constructors and the like). |
ICPPClassType[] |
getNestedClasses()
Returns an array of nested classes/structures |
int |
getVisibility(IBinding member)
Gets the access specifier of the member . |
boolean |
isFinal()
Returns whether this type is declared final. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.ICompositeType |
---|
getCompositeScope, getKey, isAnonymous |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IType |
---|
clone, isSameType |
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 |
---|
static final ICPPClassType[] EMPTY_CLASS_ARRAY
static final int k_class
static final int v_public
static final int v_protected
static final int v_private
Method Detail |
---|
ICPPBase[] getBases()
IField[] getFields()
getFields
in interface ICompositeType
IField findField(java.lang.String name)
findField
in interface ICompositeType
name
- ICPPField[] getDeclaredFields()
ICPPMethod[] getMethods()
ICPPMethod[] getAllDeclaredMethods()
ICPPMethod[] getDeclaredMethods()
ICPPConstructor[] getConstructors()
IBinding[] getFriends()
ICPPClassType[] getNestedClasses()
boolean isFinal()
int getVisibility(IBinding member)
member
.
member
- The binding of the member to get the visibility for.
member
must be a member of this class.
java.lang.IllegalArgumentException
- if member
is not a member of this class.
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |