|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.rtti.IType
public class IType
Defines a type in the RTTI. This type may be cascaded (typedef in C++) to another type. The methods isPrimitive, isEnumeration, getDimension and getPointer accomodate for this.
Method Summary | |
---|---|
boolean |
equals(Object o)
returns true is the two types are equivalent, that is after all aliasing has been done |
int |
getDimension()
Indicates the dimension of this type. |
String |
getName()
Returns the name of the type. |
int |
getPointer()
Indicates the number of pointer postfixes this type has. |
String |
getSignature(String packageName,
Properties imports)
|
IType[] |
getTypes()
Indicates the template of this type. |
boolean |
isConst()
Indicates if this type is a const type. |
boolean |
isEnumeration()
Indicates if this type is an enumerated type. |
boolean |
isPrimitive()
Indicates if this type is a primitive type. |
boolean |
isReference()
Indicates if this type is a reference. |
boolean |
isVoid()
|
String |
toString()
Returns a string representation of this type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getName()
public boolean isPrimitive()
public boolean isEnumeration()
public boolean isConst()
public boolean isReference()
public int getPointer()
public int getDimension()
1 = [], 2 = [][], etc...
public IType[] getTypes()
public boolean isVoid()
public String getSignature(String packageName, Properties imports)
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |