Package com.jogamp.gluegen.cgram.types
Class Field
java.lang.Object
com.jogamp.gluegen.cgram.types.Field
- All Implemented Interfaces:
TypeComparator.SemanticEqualityOp
Represents a field in a struct or union.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanSemantic equality test for Types exclusive its givenname.getName()Name of this field in the containing data structure.SizeThunk computing offset, in bytes, of this field in the containing data structure.longgetOffset(MachineDataInfo machDesc) Offset, in bytes, of this field in the containing data structure given the specified MachineDataInfo.getType()Type of this field.inthashCode()intSemantic hashcode for Types exclusive its givenname.voidSets the offset of this field in the containing data structure.toString()
-
Constructor Details
-
Field
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
hashCodeSemantics
public int hashCodeSemantics()Description copied from interface:TypeComparator.SemanticEqualityOpSemantic hashcode for Types exclusive its givenname.- Specified by:
hashCodeSemanticsin interfaceTypeComparator.SemanticEqualityOp- See Also:
-
equalSemantics
Description copied from interface:TypeComparator.SemanticEqualityOpSemantic equality test for Types exclusive its givenname.- Specified by:
equalSemanticsin interfaceTypeComparator.SemanticEqualityOp- See Also:
-
getName
Name of this field in the containing data structure. -
getType
Type of this field. -
getOffset
SizeThunk computing offset, in bytes, of this field in the containing data structure. -
getOffset
Offset, in bytes, of this field in the containing data structure given the specified MachineDataInfo. -
setOffset
Sets the offset of this field in the containing data structure. -
toString
-