| |
|
| xtc.type.Type xtc.type.DerivedT xtc.type.StructOrUnionT
All known Subclasses: xtc.type.UnionT, xtc.type.StructT,
StructOrUnionT | abstract public class StructOrUnionT extends DerivedT implements Tagged(Code) | | The superclass of struct and union types.
author: Robert Grimm version: $Revision: 1.40 $ |
StructOrUnionT | public StructOrUnionT(Type template, Nonce nonce, String name, List<VariableT> members)(Code) | | Create a new struct or union type.
Parameters: template - The type whose annotations to copy. Parameters: nonce - The nonce. Parameters: name - The name. Parameters: members - The members. throws: NullPointerException - Signals a null name. |
equals | public boolean equals(Object o)(Code) | | Determine whether this type equals the specified object. A
struct or union equals the specified object if the specified
object is a struct or union with the same nonce.
Parameters: o - The object. true if this type equals the object. |
getMemberCount | public int getMemberCount()(Code) | | |
hasTagged | public boolean hasTagged()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isUnnamed | public boolean isUnnamed()(Code) | | |
seal | public Type seal()(Code) | | Seal this struct or union. If this struct or union is
incomplete, i.e., does not have any members, invocations to this
method have no effect.
|
Methods inherited from xtc.type.DerivedT | public boolean isDerived()(Code)(Java Doc)
|
|
|
|