org.eclipse.cdt.core.dom.ast
Interface ICompositeType
- All Superinterfaces:
- Cloneable, IBinding, IType
- All Known Subinterfaces:
- ICPPClassType
public interface ICompositeType
- extends IBinding, IType
k_struct
static final int k_struct
- See Also:
- Constant Field Values
k_union
static final int k_union
- See Also:
- Constant Field Values
getKey
int getKey()
throws DOMException
- what kind of composite type is this?
- Returns:
-
- Throws:
DOMException
getFields
IField[] getFields()
throws DOMException
- Returns the fields for this type.
- Returns:
- List of IField
- Throws:
DOMException
findField
IField findField(String name)
throws DOMException
- returns the field that matches name,
or null if there is no such field.
- Parameters:
name
-
- Returns:
-
- Throws:
DOMException
getCompositeScope
IScope getCompositeScope()
throws DOMException
- get the IScope object that is associated with this composite type
- Returns:
-
- Throws:
DOMException
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.