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

public Class StructType

extends CompoundType
Class Inheritance
Imports
com.jogamp.gluegen.ASTLocusTag

Constructor Summary

AccessConstructor and Description
pack-priv
StructType(final String name, final SizeThunk size, final int cvAttributes, final String structName, final ASTLocusTag astLocus)

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

Method Summary

Modifier and TypeMethod and Description
public final boolean
isStruct()

Implements abstract com.jogamp.gluegen.cgram.types.CompoundType.isStruct.

Indicates whether this type was declared as a struct.
public final boolean
isUnion()

Implements abstract com.jogamp.gluegen.cgram.types.CompoundType.isUnion.

Indicates whether this type was declared as a union.
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.CompoundType:
addAliasedNameaddFieldasCompoundcreateequalSemanticsImplequalsImplgetAliasedNamesgetAliasedStringgetCNamegetFieldgetFieldsgetNumFieldsgetOrigNamegetStructNamegetStructStringhasAliaseshashCodeImplhashCodeSemanticsImplrenamesetBodyParsedsetFieldstoStringvisit

Constructor Detail

StructTypeback to summary
pack-priv StructType(final String name, final SizeThunk size, final int cvAttributes, final String structName, final ASTLocusTag astLocus)
StructTypeback to summary
private StructType(final StructType o, final int cvAttributes, final ASTLocusTag astLocus)

Method Detail

isStructback to summary
public final boolean isStruct()

Implements abstract com.jogamp.gluegen.cgram.types.CompoundType.isStruct.

Doc from com.jogamp.gluegen.cgram.types.CompoundType.isStruct.

Indicates whether this type was declared as a struct.

Annotations
@Override
isUnionback to summary
public final boolean isUnion()

Implements abstract com.jogamp.gluegen.cgram.types.CompoundType.isUnion.

Doc from com.jogamp.gluegen.cgram.types.CompoundType.isUnion.

Indicates whether this type was declared as a union.

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