|
Eclipse CDT Pre-release 3.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
|
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.IBinding |
---|
EMPTY_BINDING_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IType |
---|
EMPTY_TYPE_ARRAY |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
EMPTY_BINDING_ARRAY |
Method Summary | |
---|---|
IField |
findField(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 a list of base class relationships. |
ICPPConstructor[] |
getConstructors()
Returns an array of ICPPConstructor objects representing the contructors 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()
return 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. |
ICPPClassType[] |
getNestedClasses()
return an array of nested classes/structures |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.ICompositeType |
---|
getCompositeScope, getKey |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
getName, getNameCharArray, getScope |
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 |
---|
getName, getNameCharArray, getScope |
Field Detail |
---|
static final ICPPClassType[] EMPTY_CLASS_ARRAY
static final int k_class
Method Detail |
---|
ICPPBase[] getBases() throws DOMException
DOMException
IField[] getFields() throws DOMException
getFields
in interface ICompositeType
DOMException
IField findField(String name) throws DOMException
findField
in interface ICompositeType
name
-
DOMException
ICPPField[] getDeclaredFields() throws DOMException
DOMException
ICPPMethod[] getMethods() throws DOMException
DOMException
ICPPMethod[] getAllDeclaredMethods() throws DOMException
DOMException
ICPPMethod[] getDeclaredMethods() throws DOMException
DOMException
ICPPConstructor[] getConstructors() throws DOMException
DOMException
IBinding[] getFriends() throws DOMException
DOMException
ICPPClassType[] getNestedClasses() throws DOMException
DOMException
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |