|
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(String name)
returns the field that matches name, or null if there is no such field. |
IScope |
getCompositeScope()
get the IScope object that is associated with this composite type |
IField[] |
getFields()
Returns the fields for this type. |
int |
getKey()
what kind of composite type is this? |
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()
throws DOMException
DOMException
boolean isAnonymous()
throws DOMException
struct Outer {
struct {int a;}; // anonymous
struct {int b;} c; // not anonymous
}
DOMException
IField[] getFields()
throws DOMException
DOMException
IField findField(String name)
throws DOMException
name -
DOMException
IScope getCompositeScope()
throws DOMException
DOMException
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||