|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.gluegen.cgram.types.Type
com.jogamp.gluegen.cgram.types.PointerType
public class PointerType
Constructor Summary | |
---|---|
PointerType(SizeThunk size,
Type targetType,
int cvAttributes)
|
Method Summary | |
---|---|
PointerType |
asPointer()
Casts this to a PointerType or returns null if not a PointerType. |
boolean |
equals(Object arg)
Equality test for Types. |
String |
getName(boolean includeCVAttrs)
Returns the name of this type, optionally including const/volatile attributes. |
Type |
getTargetType()
|
int |
hashCode()
Hashcode for Types. |
boolean |
hasTypedefedName()
|
boolean |
isFunctionPointer()
Convenience routine indicating whether this Type is a pointer to a function. |
void |
setName(String name)
Set the name of this type; used for handling typedefs. |
String |
toString()
Returns a string representation of this type. |
String |
toString(String functionName,
String callingConvention)
For use only when printing function pointers. |
void |
visit(TypeVisitor arg)
Visit this type and all of the component types of this one; for example, the return type and argument types of a FunctionType. |
Methods inherited from class com.jogamp.gluegen.cgram.types.Type |
---|
arrayDimension, asArray, asBit, asCompound, asDouble, asEnum, asFloat, asFunction, asInt, asVoid, clone, getCVAttributes, getCVAttributesString, getCVVariant, getName, getSize, getSize, hasTypedefName, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isInt, isPointer, isPrimitive, isVoid, isVolatile, pointerDepth |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PointerType(SizeThunk size, Type targetType, int cvAttributes)
Method Detail |
---|
public int hashCode()
Type
hashCode
in class Type
public boolean equals(Object arg)
Type
equals
in class Type
public void setName(String name)
Type
setName
in class Type
public String getName(boolean includeCVAttrs)
Type
getName
in class Type
public boolean hasTypedefedName()
public PointerType asPointer()
Type
asPointer
in class Type
public Type getTargetType()
public boolean isFunctionPointer()
Type
isFunctionPointer
in class Type
public String toString()
Type
toString
in class Type
public String toString(String functionName, String callingConvention)
public void visit(TypeVisitor arg)
Type
visit
in class Type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |