Package com.jogamp.gluegen.cgram.types
Class DoubleType
java.lang.Object
com.jogamp.gluegen.cgram.types.Type
com.jogamp.gluegen.cgram.types.PrimitiveType
com.jogamp.gluegen.cgram.types.DoubleType
- All Implemented Interfaces:
ASTLocusTag.ASTLocusTagProvider,TypeComparator.SemanticEqualityOp,Cloneable
Represents a double-word floating-point type (C type "double".)
-
Field Summary
Fields inherited from class com.jogamp.gluegen.cgram.types.Type
relaxedEqSem -
Constructor Summary
ConstructorsConstructorDescriptionDoubleType(String name, SizeThunk size, int cvAttributes, ASTLocusTag astLocus) -
Method Summary
Modifier and TypeMethodDescriptionasDouble()Casts this to a DoubleType or returns null if not a DoubleType.protected booleanprotected booleanequalsImpl(Type t) protected intprotected intMethods inherited from class com.jogamp.gluegen.cgram.types.PrimitiveType
isPrimitiveMethods inherited from class com.jogamp.gluegen.cgram.types.Type
arrayDimension, asArray, asBit, asCompound, asEnum, asFloat, asFunction, asInt, asPointer, asVoid, clearCache, clone, equals, equalSemantics, getASTLocusTag, getBaseElementType, getCName, getCName, getCVAttributes, getCVAttributesString, getDebugString, getName, getName, getSize, getSize, getTargetType, hashCode, hashCodeSemantics, isAnon, isArray, isBaseTypeConst, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isTypedef, isVoid, isVolatile, newCVVariant, pointerDepth, setTypedefName, toString, visit
-
Constructor Details
-
DoubleType
-
-
Method Details
-
asDouble
Description copied from class:TypeCasts this to a DoubleType or returns null if not a DoubleType. -
hashCodeImpl
protected int hashCodeImpl()- Specified by:
hashCodeImplin classType
-
equalsImpl
- Specified by:
equalsImplin classType
-
hashCodeSemanticsImpl
protected int hashCodeSemanticsImpl()- Specified by:
hashCodeSemanticsImplin classType
-
equalSemanticsImpl
- Specified by:
equalSemanticsImplin classType
-