com.jogamp.gluegen.cgram.types
Class FloatType

java.lang.Object
  extended by com.jogamp.gluegen.cgram.types.Type
      extended by com.jogamp.gluegen.cgram.types.PrimitiveType
          extended by 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".)


Constructor Summary
FloatType(String name, SizeThunk size, int cvAttributes)
           
 
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.PrimitiveType
isPrimitive
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FloatType

public FloatType(String name,
                 SizeThunk size,
                 int cvAttributes)
Method Detail

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