public final class JCGLRG32UByteBuffered extends Object implements JCGLRG32UType
ByteBuffer based implementation of the JCGLRG32U record type.| Modifier and Type | Method and Description |
|---|---|
int |
getG() |
int |
getR() |
int |
metaGOffsetFromCursor() |
int |
metaGOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaGType() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaRType() |
static JCGLRG32UType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRG32UType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setG(int x)
Set the value of the
g field |
void |
setR(int x)
Set the value of the
r field |
int |
sizeOctets() |
public static JCGLRG32UType newValueWithOffset(ByteBuffer in_buffer, com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer, int in_base_offset)
in_buffer - A byte bufferin_pointer - A cursorin_base_offset - The base offset from the cursorpublic static JCGLRG32UType newValue(ByteBuffer in_buffer, com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
in_buffer - A byte bufferin_pointer - A cursorpublic int sizeOctets()
sizeOctets in interface com.io7m.jpra.runtime.java.JPRAValueTypepublic int metaROffsetFromType()
metaROffsetFromType in interface JCGLRG32UReadableTyper field, from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRG32UReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaRType()
metaRType in interface JCGLRG32UReadableTyper fieldpublic int getR()
getR in interface JCGLRG32UReadableTyper fieldpublic void setR(int x)
JCGLRG32UWritableTyper fieldsetR in interface JCGLRG32UWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRG32UReadableTypeg field, from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRG32UReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaGType()
metaGType in interface JCGLRG32UReadableTypeg fieldpublic int getG()
getG in interface JCGLRG32UReadableTypeg fieldpublic void setG(int x)
JCGLRG32UWritableTypeg fieldsetG in interface JCGLRG32UWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com