public final class JCGLRG16FByteBuffered extends Object implements JCGLRG16FType
ByteBuffer based implementation of the JCGLRG16F record type.| Modifier and Type | Method and Description |
|---|---|
double |
getG() |
double |
getR() |
int |
metaGOffsetFromCursor() |
int |
metaGOffsetFromType() |
static int |
metaGStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat |
metaGType() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
static int |
metaRStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat |
metaRType() |
static JCGLRG16FType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLRG16FType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setG(double x)
Set the value of the
g field |
void |
setR(double x)
Set the value of the
r field |
static int |
sizeInOctets() |
int |
sizeOctets() |
public static JCGLRG16FType 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 JCGLRG16FType 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 static int sizeInOctets()
public int metaROffsetFromType()
metaROffsetFromType in interface JCGLRG16FReadableTyper field, from the start of the typepublic static int metaRStaticOffsetFromType()
r from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLRG16FReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaRType()
metaRType in interface JCGLRG16FReadableTyper fieldpublic double getR()
getR in interface JCGLRG16FReadableTyper fieldpublic void setR(double x)
JCGLRG16FWritableTyper fieldsetR in interface JCGLRG16FWritableTypex - The new valuepublic int metaGOffsetFromType()
metaGOffsetFromType in interface JCGLRG16FReadableTypeg field, from the start of the typepublic static int metaGStaticOffsetFromType()
g from the start of the typepublic int metaGOffsetFromCursor()
metaGOffsetFromCursor in interface JCGLRG16FReadableTypeg field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAFloat metaGType()
metaGType in interface JCGLRG16FReadableTypeg fieldpublic double getG()
getG in interface JCGLRG16FReadableTypeg fieldpublic void setG(double x)
JCGLRG16FWritableTypeg fieldsetG in interface JCGLRG16FWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com