|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICompositeType
Interface for all composite types: classes, structs or unions.
Field Summary | |
---|---|
static int |
k_struct
|
static int |
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, TYPE_MATCHER |
Method Summary | |
---|---|
IField |
findField(java.lang.String name)
Returns the field that matches name, or null if there is no such field. |
IScope |
getCompositeScope()
Returns the IScope object that is associated with this composite type |
IField[] |
getFields()
Returns the fields for this type. |
int |
getKey()
Returns the type of the composite, k_struct , k_union ,
or ICPPClassType.k_class . |
boolean |
isAnonymous()
Returns whether the type is anonymous or not. |
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.IType |
---|
clone, isSameType |
Field Detail |
---|
static final int k_struct
static final int k_union
Method Detail |
---|
int getKey()
k_struct
, k_union
,
or ICPPClassType.k_class
.
boolean isAnonymous()
struct Outer { struct {int a;}; // anonymous struct {int b;} c; // not anonymous }
IField[] getFields()
IField findField(java.lang.String name)
null
if there is no such field.
name
- IScope getCompositeScope()
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |