public final class SMFBv1AttributeByteBuffered extends Object implements SMFBv1AttributeType
ByteBuffer based implementation of the SMFBv1Attribute record type.| Modifier and Type | Method and Description |
|---|---|
int |
getComponentCount() |
int |
getComponentKind() |
int |
getComponentSize() |
com.io7m.jpra.runtime.java.JPRAStringCursorReadableType |
getNameReadable() |
com.io7m.jpra.runtime.java.JPRAStringCursorType |
getNameWritable() |
int |
metaComponentCountOffsetFromCursor() |
int |
metaComponentCountOffsetFromType() |
static int |
metaComponentCountStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaComponentCountType() |
int |
metaComponentKindOffsetFromCursor() |
int |
metaComponentKindOffsetFromType() |
static int |
metaComponentKindStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaComponentKindType() |
int |
metaComponentSizeOffsetFromCursor() |
int |
metaComponentSizeOffsetFromType() |
static int |
metaComponentSizeStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned |
metaComponentSizeType() |
int |
metaNameOffsetFromCursor() |
int |
metaNameOffsetFromType() |
static int |
metaNameStaticOffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAString |
metaNameType() |
static SMFBv1AttributeType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static SMFBv1AttributeType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setComponentCount(int x)
Set the value of the
component_count field |
void |
setComponentKind(int x)
Set the value of the
component_kind field |
void |
setComponentSize(int x)
Set the value of the
component_size field |
static int |
sizeInOctets() |
int |
sizeOctets() |
public static SMFBv1AttributeType 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 SMFBv1AttributeType 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 metaNameOffsetFromType()
metaNameOffsetFromType in interface SMFBv1AttributeReadableTypename field, from the start of the typepublic static int metaNameStaticOffsetFromType()
name from the start of the typepublic int metaNameOffsetFromCursor()
metaNameOffsetFromCursor in interface SMFBv1AttributeReadableTypename field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAString metaNameType()
metaNameType in interface SMFBv1AttributeReadableTypename fieldpublic com.io7m.jpra.runtime.java.JPRAStringCursorReadableType getNameReadable()
getNameReadable in interface SMFBv1AttributeReadableTypename fieldpublic com.io7m.jpra.runtime.java.JPRAStringCursorType getNameWritable()
getNameWritable in interface SMFBv1AttributeWritableTypename fieldpublic int metaComponentKindOffsetFromType()
metaComponentKindOffsetFromType in interface SMFBv1AttributeReadableTypecomponent_kind field, from the start of the typepublic static int metaComponentKindStaticOffsetFromType()
component_kind from the start of the typepublic int metaComponentKindOffsetFromCursor()
metaComponentKindOffsetFromCursor in interface SMFBv1AttributeReadableTypecomponent_kind field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaComponentKindType()
metaComponentKindType in interface SMFBv1AttributeReadableTypecomponent_kind fieldpublic int getComponentKind()
getComponentKind in interface SMFBv1AttributeReadableTypecomponent_kind fieldpublic void setComponentKind(int x)
SMFBv1AttributeWritableTypecomponent_kind fieldsetComponentKind in interface SMFBv1AttributeWritableTypex - The new valuepublic int metaComponentCountOffsetFromType()
metaComponentCountOffsetFromType in interface SMFBv1AttributeReadableTypecomponent_count field, from the start of the typepublic static int metaComponentCountStaticOffsetFromType()
component_count from the start of the typepublic int metaComponentCountOffsetFromCursor()
metaComponentCountOffsetFromCursor in interface SMFBv1AttributeReadableTypecomponent_count field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaComponentCountType()
metaComponentCountType in interface SMFBv1AttributeReadableTypecomponent_count fieldpublic int getComponentCount()
getComponentCount in interface SMFBv1AttributeReadableTypecomponent_count fieldpublic void setComponentCount(int x)
SMFBv1AttributeWritableTypecomponent_count fieldsetComponentCount in interface SMFBv1AttributeWritableTypex - The new valuepublic int metaComponentSizeOffsetFromType()
metaComponentSizeOffsetFromType in interface SMFBv1AttributeReadableTypecomponent_size field, from the start of the typepublic static int metaComponentSizeStaticOffsetFromType()
component_size from the start of the typepublic int metaComponentSizeOffsetFromCursor()
metaComponentSizeOffsetFromCursor in interface SMFBv1AttributeReadableTypecomponent_size field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsigned metaComponentSizeType()
metaComponentSizeType in interface SMFBv1AttributeReadableTypecomponent_size fieldpublic int getComponentSize()
getComponentSize in interface SMFBv1AttributeReadableTypecomponent_size fieldpublic void setComponentSize(int x)
SMFBv1AttributeWritableTypecomponent_size fieldsetComponentSize in interface SMFBv1AttributeWritableTypex - The new valueCopyright © 2017 <code@io7m.com> http://io7m.com