public class IntType extends PrimitiveType implements Cloneable
| Constructor and Description |
|---|
IntType(String name,
SizeThunk size,
boolean unsigned,
int cvAttributes) |
IntType(String name,
SizeThunk size,
boolean unsigned,
int cvAttributes,
boolean typedefedUnsigned) |
| Modifier and Type | Method and Description |
|---|---|
IntType |
asInt()
Casts this to an IntType or returns null if not an IntType.
|
boolean |
equals(Object arg)
Equality test for Types.
|
boolean |
isPrimitiveUnsigned()
Indicates whether this type is an unsigned primitive type, as opposed to a typedef type that's unsigned.
|
boolean |
isUnsigned()
Indicates whether this type is unsigned
|
void |
setName(String name)
Set the name of this type; used for handling typedefs.
|
String |
toString()
Returns a string representation of this type.
|
isPrimitivearrayDimension, asArray, asBit, asCompound, asDouble, asEnum, asFloat, asFunction, asPointer, asVoid, clone, getBaseElementType, getCVAttributes, getCVAttributesString, getCVVariant, getDebugString, getName, getName, getSize, getSize, hashCode, hasTypedefName, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isVoid, isVolatile, pointerDepth, visitpublic boolean equals(Object arg)
Typepublic void setName(String name)
Typepublic IntType asInt()
Typepublic boolean isUnsigned()
public boolean isPrimitiveUnsigned()