Package com.jogamp.gluegen.cgram.types
Class PrimitiveType
- java.lang.Object
-
- com.jogamp.gluegen.cgram.types.Type
-
- com.jogamp.gluegen.cgram.types.PrimitiveType
-
- All Implemented Interfaces:
ASTLocusTag.ASTLocusTagProvider
,TypeComparator.SemanticEqualityOp
,Cloneable
- Direct Known Subclasses:
DoubleType
,FloatType
,IntType
public abstract class PrimitiveType extends Type implements Cloneable
-
-
Field Summary
-
Fields inherited from class com.jogamp.gluegen.cgram.types.Type
relaxedEqSem
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PrimitiveType(String name, SizeThunk size, int cvAttributes, ASTLocusTag astLocus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPrimitive()
Indicates whether this type is a primitive type.-
Methods inherited from class com.jogamp.gluegen.cgram.types.Type
arrayDimension, asArray, asBit, asCompound, asDouble, asEnum, asFloat, asFunction, asInt, asPointer, asVoid, clearCache, clone, equals, equalSemantics, equalSemanticsImpl, equalsImpl, getArrayBaseOrPointerTargetType, getASTLocusTag, getBaseType, getCName, getCName, getCVAttributes, getCVAttributesString, getDebugString, getName, getName, getSignature, getSize, getSize, getTargetFunction, getTargetType, hashCode, hashCodeImpl, hashCodeSemantics, hashCodeSemanticsImpl, hasSize, isAnon, isArray, isBaseTypeConst, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isTypedef, isVoid, isVolatile, newCVVariant, pointerDepth, setTypedefName, toString, visit
-
-
-
-
Constructor Detail
-
PrimitiveType
protected PrimitiveType(String name, SizeThunk size, int cvAttributes, ASTLocusTag astLocus)
-
-
Method Detail
-
isPrimitive
public boolean isPrimitive()
Description copied from class:Type
Indicates whether this type is a primitive type.- Overrides:
isPrimitive
in classType
-
-