|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Represents a field in a struct or union. More...
Public Member Functions | |
| Field (final String name, final Type type, final SizeThunk offset) | |
| int | hashCode () |
| boolean | equals (final Object arg) |
| int | hashCodeSemantics () |
Semantic hashcode for Types exclusive its given name. More... | |
| boolean | equalSemantics (final SemanticEqualityOp arg) |
Semantic equality test for Types exclusive its given name. More... | |
| String | getName () |
| Name of this field in the containing data structure. More... | |
| Type | getType () |
| Type of this field. More... | |
| SizeThunk | getOffset () |
| SizeThunk computing offset, in bytes, of this field in the containing data structure. More... | |
| long | getOffset (final MachineDataInfo machDesc) |
| Offset, in bytes, of this field in the containing data structure given the specified MachineDataInfo. More... | |
| void | setOffset (final SizeThunk offset) |
| Sets the offset of this field in the containing data structure. More... | |
| String | toString () |
| int | hashCodeSemantics () |
Semantic hashcode for Types exclusive its given name. More... | |
| boolean | equalSemantics (final SemanticEqualityOp arg) |
Semantic equality test for Types exclusive its given name. More... | |
Represents a field in a struct or union.
Definition at line 47 of file Field.java.
| boolean com.jogamp.gluegen.cgram.types.Field.equals | ( | final Object | arg | ) |
| boolean com.jogamp.gluegen.cgram.types.Field.equalSemantics | ( | final SemanticEqualityOp | arg | ) |
Semantic equality test for Types exclusive its given name.
Implements com.jogamp.gluegen.cgram.types.TypeComparator.SemanticEqualityOp.
Definition at line 86 of file Field.java.
| String com.jogamp.gluegen.cgram.types.Field.getName | ( | ) |
Name of this field in the containing data structure.
Definition at line 98 of file Field.java.
| SizeThunk com.jogamp.gluegen.cgram.types.Field.getOffset | ( | ) |
SizeThunk computing offset, in bytes, of this field in the containing data structure.
Definition at line 104 of file Field.java.
| long com.jogamp.gluegen.cgram.types.Field.getOffset | ( | final MachineDataInfo | machDesc | ) |
Offset, in bytes, of this field in the containing data structure given the specified MachineDataInfo.
Definition at line 108 of file Field.java.
| Type com.jogamp.gluegen.cgram.types.Field.getType | ( | ) |
Type of this field.
Definition at line 101 of file Field.java.
| int com.jogamp.gluegen.cgram.types.Field.hashCode | ( | ) |
| int com.jogamp.gluegen.cgram.types.Field.hashCodeSemantics | ( | ) |
Semantic hashcode for Types exclusive its given name.
Implements com.jogamp.gluegen.cgram.types.TypeComparator.SemanticEqualityOp.
Definition at line 81 of file Field.java.
| void com.jogamp.gluegen.cgram.types.Field.setOffset | ( | final SizeThunk | offset | ) |
Sets the offset of this field in the containing data structure.
Definition at line 111 of file Field.java.
| String com.jogamp.gluegen.cgram.types.Field.toString | ( | ) |