public class StructType extends CompoundType
Constructor and Description |
---|
StructType(String name,
SizeThunk size,
int cvAttributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object arg)
Equality test for Types.
|
boolean |
isStruct()
Indicates whether this type was declared as a struct.
|
boolean |
isUnion()
Indicates whether this type was declared as a union.
|
addField, asCompound, clone, create, getField, getNumFields, getStructName, getStructString, hashCode, setBodyParsed, setSize, setStructName, toString, visit
isLayouted, setLayouted
arrayDimension, asArray, asBit, asDouble, asEnum, asFloat, asFunction, asInt, asPointer, asVoid, getCVAttributes, getCVAttributesString, getCVVariant, getName, getName, getSize, getSize, hasTypedefName, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isPrimitive, isVoid, isVolatile, pointerDepth, setName
public boolean equals(Object arg)
Type
equals
in class CompoundType
public final boolean isStruct()
CompoundType
isStruct
in class CompoundType
public final boolean isUnion()
CompoundType
isUnion
in class CompoundType