|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.gluegen.cgram.types.Field
public class Field
Represents a field in a struct or union.
Constructor Summary | |
---|---|
Field(String name,
Type type,
SizeThunk offset)
|
Method Summary | |
---|---|
boolean |
equals(Object arg)
|
String |
getName()
Name of this field in the containing data structure. |
SizeThunk |
getOffset()
SizeThunk computing offset, in bytes, of this field in the containing data structure. |
long |
getOffset(MachineDescription machDesc)
Offset, in bytes, of this field in the containing data structure given the specified MachineDescription. |
Type |
getType()
Type of this field. |
int |
hashCode()
|
void |
setOffset(SizeThunk offset)
Sets the offset of this field in the containing data structure. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Field(String name, Type type, SizeThunk offset)
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object arg)
equals
in class Object
public String getName()
public Type getType()
public SizeThunk getOffset()
public long getOffset(MachineDescription machDesc)
public void setOffset(SizeThunk offset)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |