Class EnumVal
java.lang.Object
com.google.flatbuffers.Table
com.google.flatbuffers.reflection.EnumVal
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static EnumVal__lookup_by_key(EnumVal obj, int vectorLocation, long key, ByteBuffer bb) static voidaddAttributes(FlatBufferBuilder builder, int attributesOffset) static voidaddDocumentation(FlatBufferBuilder builder, int documentationOffset) static voidaddName(FlatBufferBuilder builder, int nameOffset) static voidaddUnionType(FlatBufferBuilder builder, int unionTypeOffset) static voidaddValue(FlatBufferBuilder builder, long value) attributes(int j) attributes(KeyValue obj, int j) attributesByKey(KeyValue obj, String key) attributesByKey(String key) intstatic intcreateAttributesVector(FlatBufferBuilder builder, int[] data) static intcreateDocumentationVector(FlatBufferBuilder builder, int[] data) static intcreateEnumVal(FlatBufferBuilder builder, int nameOffset, long value, int unionTypeOffset, int documentationOffset, int attributesOffset) documentation(int j) intstatic intendEnumVal(FlatBufferBuilder builder) static EnumValstatic EnumValgetRootAsEnumVal(ByteBuffer _bb, EnumVal obj) protected intkeysCompare(Integer o1, Integer o2, ByteBuffer _bb) Compare two tables by the key.name()static voidstartAttributesVector(FlatBufferBuilder builder, int numElems) static voidstartDocumentationVector(FlatBufferBuilder builder, int numElems) static voidstartEnumVal(FlatBufferBuilder builder) static voidlongvalue()Methods inherited from class com.google.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, sortTables
-
Constructor Details
-
EnumVal
public EnumVal()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsEnumVal
-
getRootAsEnumVal
-
__init
-
__assign
-
name
-
nameAsByteBuffer
-
nameInByteBuffer
-
value
public long value() -
unionType
-
unionType
-
documentation
-
documentationLength
public int documentationLength() -
documentationVector
-
documentationVector
-
attributes
-
attributes
-
attributesLength
public int attributesLength() -
attributesByKey
-
attributesByKey
-
attributesVector
-
attributesVector
-
createEnumVal
public static int createEnumVal(FlatBufferBuilder builder, int nameOffset, long value, int unionTypeOffset, int documentationOffset, int attributesOffset) -
startEnumVal
-
addName
-
addValue
-
addUnionType
-
addDocumentation
-
createDocumentationVector
-
startDocumentationVector
-
addAttributes
-
createAttributesVector
-
startAttributesVector
-
endEnumVal
-
keysCompare
Description copied from class:TableCompare two tables by the key.- Overrides:
keysComparein classTable- Parameters:
o1- An 'Integer' index of the first key into the bb.o2- An 'Integer' index of the second key into the bb._bb- AByteBufferto get the keys.
-
__lookup_by_key
-