Top Description Constructors Methods
com.jogamp.gluegen.cgram.types

public Class FloatType

extends PrimitiveType
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
com.jogamp.gluegen.ASTLocusTag

Represents a single-word floating-point type (C type "float".)

Constructor Summary

AccessConstructor and Description
public
FloatType(final String name, final SizeThunk size, final int cvAttributes, final ASTLocusTag astLocus)

private
FloatType(final FloatType o, final int cvAttributes, final ASTLocusTag astLocus)

Method Summary

Modifier and TypeMethod and Description
public FloatType
asFloat()

Overrides com.jogamp.gluegen.cgram.types.Type.asFloat.

Casts this to a FloatType or returns null if not a FloatType.
protected boolean
protected boolean
protected int
protected int
pack-priv Type
newVariantImpl(final boolean
true if new variant is intended to have new cvAttributes
newCVVariant
,
final int
the cvAttributes to be used
cvAttributes
,
final ASTLocusTag
the ASTLocusTag to be used
astLocus
)

Implements abstract com.jogamp.gluegen.cgram.types.Type.newVariantImpl.

Create a new variant of this type matching the given parameter

Implementation must use Type's copy-ctor: Type(Type, int, ASTLocusTag)!

Inherited from com.jogamp.gluegen.cgram.types.PrimitiveType:
isPrimitive

Constructor Detail

FloatTypeback to summary
public FloatType(final String name, final SizeThunk size, final int cvAttributes, final ASTLocusTag astLocus)
FloatTypeback to summary
private FloatType(final FloatType o, final int cvAttributes, final ASTLocusTag astLocus)

Method Detail

asFloatback to summary
public FloatType asFloat()

Overrides com.jogamp.gluegen.cgram.types.Type.asFloat.

Doc from com.jogamp.gluegen.cgram.types.Type.asFloat.

Casts this to a FloatType or returns null if not a FloatType.

Annotations
@Override
equalSemanticsImplback to summary
protected boolean equalSemanticsImpl(final Type t)

Implements abstract com.jogamp.gluegen.cgram.types.Type.equalSemanticsImpl.

Annotations
@Override
equalsImplback to summary
protected boolean equalsImpl(final Type t)

Implements abstract com.jogamp.gluegen.cgram.types.Type.equalsImpl.

Annotations
@Override
hashCodeImplback to summary
protected int hashCodeImpl()

Implements abstract com.jogamp.gluegen.cgram.types.Type.hashCodeImpl.

Annotations
@Override
hashCodeSemanticsImplback to summary
protected int hashCodeSemanticsImpl()

Implements abstract com.jogamp.gluegen.cgram.types.Type.hashCodeSemanticsImpl.

Annotations
@Override
newVariantImplback to summary
pack-priv Type newVariantImpl(final boolean newCVVariant, final int cvAttributes, final ASTLocusTag astLocus)

Implements abstract com.jogamp.gluegen.cgram.types.Type.newVariantImpl.

Doc from com.jogamp.gluegen.cgram.types.Type.newVariantImpl.

Create a new variant of this type matching the given parameter

Implementation must use Type's copy-ctor: Type(Type, int, ASTLocusTag)!

Parameters
newCVVariant:boolean

true if new variant is intended to have new cvAttributes

cvAttributes:int

the cvAttributes to be used

astLocus:ASTLocusTag

the ASTLocusTag to be used

Annotations
@Override