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, visitisLayouted, setLayoutedarrayDimension, asArray, asBit, asDouble, asEnum, asFloat, asFunction, asInt, asPointer, asVoid, getBaseElementType, getCVAttributes, getCVAttributesString, getCVVariant, getDebugString, getName, getName, getSize, getSize, hasTypedefName, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isPrimitive, isVoid, isVolatile, pointerDepth, setNamepublic boolean equals(Object arg)
Typeequals in class CompoundTypepublic final boolean isStruct()
CompoundTypeisStruct in class CompoundTypepublic final boolean isUnion()
CompoundTypeisUnion in class CompoundType