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:
- Cloneable
public class DoubleType
- extends PrimitiveType
- implements Cloneable
Represents a double-word floating-point type (C type "double".)
Method Summary |
DoubleType |
asDouble()
Casts this to a DoubleType or returns null if not a DoubleType. |
boolean |
equals(Object arg)
Equality test for Types. |
Methods inherited from class com.jogamp.gluegen.cgram.types.Type |
arrayDimension, asArray, asBit, asCompound, asEnum, asFloat, asFunction, asInt, asPointer, asVoid, clone, getCVAttributes, getCVAttributesString, getCVVariant, getName, getName, getSize, getSize, hashCode, hasTypedefName, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isVoid, isVolatile, pointerDepth, setName, toString, visit |
DoubleType
public DoubleType(String name,
SizeThunk size,
int cvAttributes)
equals
public boolean equals(Object arg)
- Description copied from class:
Type
- Equality test for Types.
- Overrides:
equals
in class Type
asDouble
public DoubleType asDouble()
- Description copied from class:
Type
- Casts this to a DoubleType or returns null if not a DoubleType.
- Overrides:
asDouble
in class Type