Package com.jogamp.gluegen.cgram.types
Class StructType
- java.lang.Object
-
- com.jogamp.gluegen.cgram.types.Type
-
- com.jogamp.gluegen.cgram.types.MemoryLayoutType
-
- com.jogamp.gluegen.cgram.types.CompoundType
-
- com.jogamp.gluegen.cgram.types.StructType
-
- All Implemented Interfaces:
ASTLocusTag.ASTLocusTagProvider
,AliasedSymbol
,TypeComparator.SemanticEqualityOp
,Cloneable
public class StructType extends CompoundType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jogamp.gluegen.cgram.types.AliasedSymbol
AliasedSymbol.AliasedSymbolImpl, AliasedSymbol.NoneAliasedSymbol
-
-
Field Summary
-
Fields inherited from class com.jogamp.gluegen.cgram.types.Type
relaxedEqSem
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isStruct()
Indicates whether this type was declared as a struct.boolean
isUnion()
Indicates whether this type was declared as a union.-
Methods inherited from class com.jogamp.gluegen.cgram.types.CompoundType
addAliasedName, addField, asCompound, create, equalSemanticsImpl, equalsImpl, getAliasedNames, getAliasedString, getCName, getField, getField, getNumFields, getOrigName, getStructName, getStructString, hasAliases, hashCodeImpl, hashCodeSemanticsImpl, rename, setBodyParsed, toString, visit
-
Methods inherited from class com.jogamp.gluegen.cgram.types.MemoryLayoutType
isLayouted, setLayouted
-
Methods inherited from class com.jogamp.gluegen.cgram.types.Type
arrayDimension, asArray, asBit, asDouble, asEnum, asFloat, asFunction, asInt, asPointer, asVoid, clearCache, clone, equals, equalSemantics, getArrayBaseOrPointerTargetType, getASTLocusTag, getBaseType, getCName, getCVAttributes, getCVAttributesString, getDebugString, getName, getName, getSignature, getSize, getSize, getTargetFunction, getTargetType, hashCode, hashCodeSemantics, hasSize, isAnon, isArray, isBaseTypeConst, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isFunctionPointer, isInt, isPointer, isPrimitive, isTypedef, isVoid, isVolatile, newCVVariant, pointerDepth, setTypedefName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.jogamp.gluegen.cgram.types.AliasedSymbol
getName
-
-
-
-
Method Detail
-
isStruct
public final boolean isStruct()
Description copied from class:CompoundType
Indicates whether this type was declared as a struct.- Specified by:
isStruct
in classCompoundType
-
isUnion
public final boolean isUnion()
Description copied from class:CompoundType
Indicates whether this type was declared as a union.- Specified by:
isUnion
in classCompoundType
-
-