com.jogamp.gluegen.cgram.types
Class FloatType
java.lang.Object
com.jogamp.gluegen.cgram.types.Type
com.jogamp.gluegen.cgram.types.PrimitiveType
com.jogamp.gluegen.cgram.types.FloatType
- All Implemented Interfaces:
- Cloneable
public class FloatType
- extends PrimitiveType
- implements Cloneable
Represents a single-word floating-point type (C type "float".)
Method Summary |
FloatType |
asFloat()
Casts this to a FloatType or returns null if not a FloatType. |
boolean |
equals(Object arg)
Equality test for Types. |
Methods inherited from class com.jogamp.gluegen.cgram.types.Type |
arrayDimension, asArray, asBit, asCompound, asDouble, asEnum, 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 |
FloatType
public FloatType(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
asFloat
public FloatType asFloat()
- Description copied from class:
Type
- Casts this to a FloatType or returns null if not a FloatType.
- Overrides:
asFloat
in class Type