|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tagged
The interface of all tagged C types. Note that all tagged C types
must have a name, even if they are unnamed in source code. For
unnamed tagged types, the name must be of the form
tag(nonce).
| Method Summary | |
|---|---|
Type |
getMember(int index)
Get the member with the specified index. |
int |
getMemberCount()
Get the number of members. |
java.util.List<? extends Type> |
getMembers()
Get the members of the tagged type. |
java.lang.String |
getName()
Get the name. |
Nonce |
getNonce()
Get this tagged type's nonce. |
boolean |
hasName(java.lang.String name)
Determine whether this tagged type has the specified name. |
boolean |
isEnum()
Determine whether this tagged type is an enum. |
boolean |
isStruct()
Determine whether this tagged type is a struct. |
boolean |
isUnion()
Determine whether this tagged type is a union. |
boolean |
isUnnamed()
Determine whether this tagged type is unnamed. |
Type |
lookup(java.lang.String name)
Look up the member with the specified name. |
| Method Detail |
|---|
boolean isEnum()
true if this tagged type is an enum.boolean isStruct()
true if this tagged type is a struct.boolean isUnion()
true if this tagged type is a union.Nonce getNonce()
boolean isUnnamed()
tag(nonce).
true if this tagged type is unnamed.boolean hasName(java.lang.String name)
name - The name.
true if this tagged type has the name.java.lang.String getName()
Type lookup(java.lang.String name)
name - The name.
ErrorT.TYPE if the tagged type has no
such member.int getMemberCount()
-1 if this type is
incomplete.Type getMember(int index)
index - The index.
java.lang.IndexOutOfBoundsException - Signals that the index is out
of range.java.util.List<? extends Type> getMembers()
null if this type is
incomplete.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||