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

public Class VoidType

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

Field Summary

Inherited from com.jogamp.gluegen.cgram.types.Type:
astLocusrelaxedEqSem

Constructor Summary

AccessConstructor and Description
public
VoidType(final int cvAttributes, final ASTLocusTag astLocus)

private
VoidType(final String name, final int cvAttributes, final ASTLocusTag astLocus)

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

Method Summary

Modifier and TypeMethod and Description
public VoidType
asVoid()

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

Casts this to a VoidType or returns null if not a VoidType.
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.Type:
arrayDimensionasArrayasBitasCompoundasDoubleasEnumasFloatasFunctionasIntasPointerclearCachecloneequalsequalSemanticsgetASTLocusTaggetBaseElementTypegetCNamegetCNamegetCVAttributesgetCVAttributesStringgetDebugStringgetNamegetNamegetSizegetSizegetTargetTypegetTypedefCVAttributeshashCodehashCodeSemanticsisAnonisArrayisBaseTypeConstisBitisCompoundisConstisDoubleisEnumisFloatisFunctionisFunctionPointerisIntisPointerisPrimitiveisTypedefisVoidisVolatilenewCVVariantpointerDepthsetSizesetTypedefsetTypedefNametoStringvisit

Constructor Detail

VoidTypeback to summary
public VoidType(final int cvAttributes, final ASTLocusTag astLocus)
VoidTypeback to summary
private VoidType(final String name, final int cvAttributes, final ASTLocusTag astLocus)
VoidTypeback to summary
private VoidType(final VoidType o, final int cvAttributes, final ASTLocusTag astLocus)

Method Detail

asVoidback to summary
public VoidType asVoid()

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

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

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

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