40package com.jogamp.gluegen;
43import com.jogamp.gluegen.cgram.types.*;
47 private final Map<String, Type> resultMap =
new HashMap<String, Type>();
48 private final Set<CompoundType> layoutSet =
new HashSet<CompoundType>();
49 private final Set<Type> skip =
new HashSet<Type>();
56 return resultMap.values().iterator();
59 return layoutSet.iterator();
64 if( skip.contains(t) ) {
80 if( !resultMap.containsKey(t.
getName()) ) {
void visitType(final Type t)
Visiting the given Type.
Iterator< Type > results()
Iterator< CompoundType > layouts()
Models all compound types, i.e., those containing fields: structs and unions.
final Type getTargetType()
Helper method to returns the target type of this type, in case another type is being referenced,...
PointerType asPointer()
Casts this to a PointerType or returns null if not a PointerType.
final String getName()
Returns the name of this type.
final boolean isPointer()
Indicates whether this is a PointerType.
CompoundType asCompound()
Casts this to a CompoundType or returns null if not a CompoundType.
final boolean isTypedef()
Indicates whether this type is a typedef type, i.e.
final boolean isCompound()
Indicates whether this is a CompoundType.
String getName()
Return the current-name, which is the last renamed-name if issued, or the original-name.
A visitor for Type's visitor model.