|
ONE - On-device Neural Engine
|
#include <flatbuffer_builder.h>

Data Structures | |
| struct | FieldLoc |
| struct | StringOffsetCompare |
Public Types | |
| typedef std::conditional< Is64Aware, uoffset64_t, uoffset_t >::type | SizeT |
Public Member Functions | |
| FlatBufferBuilderImpl (size_t initial_size=1024, Allocator *allocator=nullptr, bool own_allocator=false, size_t buffer_minalign=AlignOf< largest_scalar_t >()) | |
| Default constructor for FlatBufferBuilder. | |
| FlatBufferBuilderImpl (FlatBufferBuilderImpl &&other) noexcept | |
| Move constructor for FlatBufferBuilder. | |
| FlatBufferBuilderImpl & | operator= (FlatBufferBuilderImpl &&other) noexcept |
| Move assignment operator for FlatBufferBuilder. | |
| void | Swap (FlatBufferBuilderImpl &other) |
| ~FlatBufferBuilderImpl () | |
| void | Reset () |
| void | Clear () |
| Reset all the state in this FlatBufferBuilder so it can be reused to construct another buffer. | |
| SizeT | GetSize () const |
| The current size of the serialized buffer, counting from the end. | |
| template<bool is_64 = Is64Aware> | |
| std::enable_if< is_64, uoffset_t >::type | GetSizeRelative32BitRegion () const |
| The current size of the serialized buffer relative to the end of the 32-bit region. | |
| template<bool is_64 = Is64Aware> | |
| std::enable_if<!is_64, uoffset_t >::type | GetSizeRelative32BitRegion () const |
| uint8_t * | GetBufferPointer () const |
Get the serialized buffer (after you call Finish()). | |
| flatbuffers::span< uint8_t > | GetBufferSpan () const |
Get the serialized buffer (after you call Finish()) as a span. | |
| uint8_t * | GetCurrentBufferPointer () const |
| Get a pointer to an unfinished buffer. | |
| FLATBUFFERS_ATTRIBUTE () DetachedBuffer ReleaseBufferPointer() | |
| Get the released pointer to the serialized buffer. | |
| DetachedBuffer | Release () |
| Get the released DetachedBuffer. | |
| uint8_t * | ReleaseRaw (size_t &size, size_t &offset) |
| Get the released pointer to the serialized buffer. | |
| size_t | GetBufferMinAlignment () const |
| get the minimum alignment this buffer needs to be accessed properly. This is only known once all elements have been written (after you call Finish()). You can use this information if you need to embed a FlatBuffer in some other buffer, such that you can later read it without first having to copy it into its own buffer. | |
| void | ForceDefaults (bool fd) |
| In order to save space, fields that are set to their default value don't get serialized into the buffer. | |
| void | DedupVtables (bool dedup) |
| By default vtables are deduped in order to save space. | |
| template<template< typename > class OffsetT = Offset> | |
| OffsetT< String > | CreateString (const char *str, size_t len) |
| Store a string in the buffer, which can contain any binary data. | |
| template<template< typename > class OffsetT = Offset> | |
| OffsetT< String > | CreateString (const char *str) |
| Store a string in the buffer, which is null-terminated. | |
| template<template< typename > class OffsetT = Offset> | |
| OffsetT< String > | CreateString (char *str) |
| Store a string in the buffer, which is null-terminated. | |
| template<template< typename > class OffsetT = Offset> | |
| OffsetT< String > | CreateString (const std::string &str) |
| Store a string in the buffer, which can contain any binary data. | |
| template<template< typename > class OffsetT = Offset> | |
| OffsetT< String > | CreateString (const String *str) |
| Store a string in the buffer, which can contain any binary data. | |
| template<template< typename > class OffsetT = Offset, int &... ExplicitArgumentBarrier, typename T > | |
| OffsetT< String > | CreateString (const T &str) |
| Store a string in the buffer, which can contain any binary data. | |
| Offset< String > | CreateSharedString (const char *str, size_t len) |
| Store a string in the buffer, which can contain any binary data. If a string with this exact contents has already been serialized before, instead simply returns the offset of the existing string. This uses a map stored on the heap, but only stores the numerical offsets. | |
| Offset< String > | CreateSharedString (const char *str) |
| Store a string in the buffer, which null-terminated. If a string with this exact contents has already been serialized before, instead simply returns the offset of the existing string. This uses a map stored on the heap, but only stores the numerical offsets. | |
| Offset< String > | CreateSharedString (const std::string &str) |
| Store a string in the buffer, which can contain any binary data. If a string with this exact contents has already been serialized before, instead simply returns the offset of the existing string. This uses a map stored on the heap, but only stores the numerical offsets. | |
| Offset< String > | CreateSharedString (const String *str) |
| Store a string in the buffer, which can contain any binary data. If a string with this exact contents has already been serialized before, instead simply returns the offset of the existing string. This uses a map stored on the heap, but only stores the numerical offsets. | |
| template<typename T , template< typename... > class OffsetT = Offset, template< typename... > class VectorT = Vector> | |
| OffsetT< VectorT< T > > | CreateVector (const T *v, size_t len) |
Serialize an array into a FlatBuffer vector. | |
| template<typename T , class C > | |
| Offset< Vector< T > > | CreateVector (const C &array) |
Serialize an array like object into a FlatBuffer vector. | |
| template<typename T > | |
| Offset< Vector< T > > | CreateVector (std::initializer_list< T > v) |
Serialize an initializer list into a FlatBuffer vector. | |
| template<typename T > | |
| Offset< Vector< Offset< T > > > | CreateVector (const Offset< T > *v, size_t len) |
| template<typename T , typename Alloc = std::allocator<T>> | |
| Offset< Vector< T > > | CreateVector (const std::vector< T, Alloc > &v) |
Serialize a std::vector into a FlatBuffer vector. | |
| template<template< typename... > class VectorT = Vector64, int &... ExplicitArgumentBarrier, typename T > | |
| Offset64< VectorT< T > > | CreateVector64 (const std::vector< T > &v) |
| Offset< Vector< uint8_t > > | CreateVector (const std::vector< bool > &v) |
| template<typename T > | |
| Offset< Vector< T > > | CreateVector (size_t vector_size, const std::function< T(size_t i)> &f) |
Serialize values returned by a function into a FlatBuffer vector. This is a convenience function that takes care of iteration for you. | |
| template<typename T , typename F , typename S > | |
| Offset< Vector< T > > | CreateVector (size_t vector_size, F f, S *state) |
Serialize values returned by a function into a FlatBuffer vector. This is a convenience function that takes care of iteration for you. This uses a vector stored on the heap to store the intermediate results of the iteration. | |
| template<typename StringType = std::string, typename Alloc = std::allocator<StringType>> | |
| Offset< Vector< Offset< String > > > | CreateVectorOfStrings (const std::vector< StringType, Alloc > &v) |
Serialize a std::vector<StringType> into a FlatBuffer vector. whereas StringType is any type that is accepted by the CreateString() overloads. This is a convenience function for a common case. | |
| template<class It > | |
| Offset< Vector< Offset< String > > > | CreateVectorOfStrings (It begin, It end) |
Serialize a collection of Strings into a FlatBuffer vector. This is a convenience function for a common case. | |
| template<typename T , template< typename... > class OffsetT = Offset, template< typename... > class VectorT = Vector> | |
| OffsetT< VectorT< const T * > > | CreateVectorOfStructs (const T *v, size_t len) |
Serialize an array of structs into a FlatBuffer vector. | |
| template<typename T > | |
| Offset< Vector< const T * > > | CreateVectorOfStructs (size_t vector_size, const std::function< void(size_t i, T *)> &filler) |
Serialize an array of structs into a FlatBuffer vector. | |
| template<typename T , typename F , typename S > | |
| Offset< Vector< const T * > > | CreateVectorOfStructs (size_t vector_size, F f, S *state) |
Serialize an array of structs into a FlatBuffer vector. | |
| template<typename T , template< typename... > class OffsetT = Offset, template< typename... > class VectorT = Vector, typename Alloc = std::allocator<T>> | |
| OffsetT< VectorT< const T * > > | CreateVectorOfStructs (const std::vector< T, Alloc > &v) |
Serialize a std::vector of structs into a FlatBuffer vector. | |
| template<template< typename... > class VectorT = Vector64, int & ..., typename T > | |
| Offset64< VectorT< const T * > > | CreateVectorOfStructs64 (const std::vector< T > &v) |
| template<typename T , typename S > | |
| Offset< Vector< const T * > > | CreateVectorOfNativeStructs (const S *v, size_t len, T(*const pack_func)(const S &)) |
Serialize an array of native structs into a FlatBuffer vector. | |
| template<typename T , typename S > | |
| Offset< Vector< const T * > > | CreateVectorOfNativeStructs (const S *v, size_t len) |
Serialize an array of native structs into a FlatBuffer vector. | |
| template<typename T , typename S , typename Alloc = std::allocator<T>> | |
| Offset< Vector< const T * > > | CreateVectorOfNativeStructs (const std::vector< S, Alloc > &v, T(*const pack_func)(const S &)) |
Serialize a std::vector of native structs into a FlatBuffer vector. | |
| template<typename T , typename S , typename Alloc = std::allocator<S>> | |
| Offset< Vector< const T * > > | CreateVectorOfNativeStructs (const std::vector< S, Alloc > &v) |
Serialize a std::vector of native structs into a FlatBuffer vector. | |
| template<typename T , typename Alloc = std::allocator<T>> | |
| Offset< Vector< const T * > > | CreateVectorOfSortedStructs (std::vector< T, Alloc > *v) |
Serialize a std::vector of structs into a FlatBuffer vector in sorted order. | |
| template<typename T , typename S , typename Alloc = std::allocator<T>> | |
| Offset< Vector< const T * > > | CreateVectorOfSortedNativeStructs (std::vector< S, Alloc > *v) |
Serialize a std::vector of native structs into a FlatBuffer vector in sorted order. | |
| template<typename T > | |
| Offset< Vector< const T * > > | CreateVectorOfSortedStructs (T *v, size_t len) |
Serialize an array of structs into a FlatBuffer vector in sorted order. | |
| template<typename T , typename S > | |
| Offset< Vector< const T * > > | CreateVectorOfSortedNativeStructs (S *v, size_t len) |
Serialize an array of native structs into a FlatBuffer vector in sorted order. | |
| template<typename T > | |
| Offset< Vector< Offset< T > > > | CreateVectorOfSortedTables (Offset< T > *v, size_t len) |
Serialize an array of table offsets as a vector in the buffer in sorted order. | |
| template<typename T , typename Alloc = std::allocator<T>> | |
| Offset< Vector< Offset< T > > > | CreateVectorOfSortedTables (std::vector< Offset< T >, Alloc > *v) |
Serialize an array of table offsets as a vector in the buffer in sorted order. | |
| uoffset_t | CreateUninitializedVector (size_t len, size_t elemsize, size_t alignment, uint8_t **buf) |
Specialized version of CreateVector for non-copying use cases. Write the data any time later to the returned buffer pointer buf. | |
| uoffset_t | CreateUninitializedVector (size_t len, size_t elemsize, uint8_t **buf) |
| template<typename T > | |
| Offset< Vector< T > > | CreateUninitializedVector (size_t len, T **buf) |
Specialized version of CreateVector for non-copying use cases. Write the data any time later to the returned buffer pointer buf. | |
| template<typename T > | |
| Offset< Vector< const T * > > | CreateUninitializedVectorOfStructs (size_t len, T **buf) |
| template<typename T , typename U > | |
| Offset< Vector< T > > | CreateVectorScalarCast (const U *v, size_t len) |
| template<typename T > | |
| Offset< const T * > | CreateStruct (const T &structobj) |
| Write a struct by itself, typically to be part of a union. | |
| template<typename T > | |
| void | Finish (Offset< T > root, const char *file_identifier=nullptr) |
| Finish serializing a buffer by writing the root offset. | |
| template<typename T > | |
| void | FinishSizePrefixed (Offset< T > root, const char *file_identifier=nullptr) |
| Finish a buffer with a 32 bit size field pre-fixed (size of the buffer following the size field). These buffers are NOT compatible with standard buffers created by Finish, i.e. you can't call GetRoot on them, you have to use GetSizePrefixedRoot instead. All >32 bit quantities in this buffer will be aligned when the whole size pre-fixed buffer is aligned. These kinds of buffers are useful for creating a stream of FlatBuffers. | |
| void | SwapBufAllocator (FlatBufferBuilderImpl &other) |
Static Public Attributes | |
| static const size_t | kFileIdentifierLength |
| The length of a FlatBuffer file header. | |
Protected Types | |
| typedef std::set< Offset< String >, StringOffsetCompare > | StringOffsetMap |
Protected Member Functions | |
| FlatBufferBuilderImpl (const FlatBufferBuilderImpl &) | |
| FlatBufferBuilderImpl & | operator= (const FlatBufferBuilderImpl &) |
| void | Finish (uoffset_t root, const char *file_identifier, bool size_prefix) |
Protected Attributes | |
| vector_downward< SizeT > | buf_ |
| uoffset_t | num_field_loc |
| voffset_t | max_voffset_ |
| size_t | length_of_64_bit_region_ |
| bool | nested |
| bool | finished |
| size_t | minalign_ |
| bool | force_defaults_ |
| bool | dedup_vtables_ |
| StringOffsetMap * | string_pool |
Definition at line 75 of file flatbuffer_builder.h.
| typedef std::conditional<Is64Aware,uoffset64_t,uoffset_t>::type flatbuffers::FlatBufferBuilderImpl< Is64Aware >::SizeT |
Definition at line 80 of file flatbuffer_builder.h.
|
protected |
Definition at line 1329 of file flatbuffer_builder.h.
|
inlineexplicit |
Default constructor for FlatBufferBuilder.
| [in] | initial_size | The initial size of the buffer, in bytes. Defaults to 1024. |
| [in] | allocator | An Allocator to use. If null will use DefaultAllocator. |
| [in] | own_allocator | Whether the builder/vector should own the allocator. Defaults to / false. |
| [in] | buffer_minalign | Force the buffer to be aligned to the given minimum alignment upon reallocation. Only needed if you intend to store types with custom alignment AND you wish to read the buffer in-place directly after creation. |
Definition at line 93 of file flatbuffer_builder.h.
|
inlinenoexcept |
Move constructor for FlatBufferBuilder.
Definition at line 113 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
inline |
Definition at line 155 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::string_pool.
|
protected |
|
inline |
Reset all the state in this FlatBufferBuilder so it can be reused to construct another buffer.
Definition at line 166 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, flatbuffers::vector_downward< SizeT >::clear(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::finished, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::length_of_64_bit_region_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::minalign_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::nested, and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::string_pool.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Reset().
|
inline |
Store a string in the buffer, which null-terminated. If a string with this exact contents has already been serialized before, instead simply returns the offset of the existing string. This uses a map stored on the heap, but only stores the numerical offsets.
| [in] | str | A const char pointer to a C-string to add to the buffer. |
Definition at line 647 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateSharedString().
|
inline |
Store a string in the buffer, which can contain any binary data. If a string with this exact contents has already been serialized before, instead simply returns the offset of the existing string. This uses a map stored on the heap, but only stores the numerical offsets.
| [in] | str | A const char pointer to the data to be stored as a string. |
| [in] | len | The number of bytes that should be stored from str. |
Definition at line 608 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, FLATBUFFERS_ASSERT, flatbuffers::vector_downward< SizeT >::pop(), flatbuffers::vector_downward< SizeT >::size(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::string_pool.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateSharedString(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateSharedString(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateSharedString().
|
inline |
Store a string in the buffer, which can contain any binary data. If a string with this exact contents has already been serialized before, instead simply returns the offset of the existing string. This uses a map stored on the heap, but only stores the numerical offsets.
| [in] | str | A const reference to a std::string to store in the buffer. |
Definition at line 657 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateSharedString().
|
inline |
Store a string in the buffer, which can contain any binary data. If a string with this exact contents has already been serialized before, instead simply returns the offset of the existing string. This uses a map stored on the heap, but only stores the numerical offsets.
| [in] | str | A const pointer to a String struct to add to the buffer. |
Definition at line 668 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateSharedString().
|
inline |
Store a string in the buffer, which is null-terminated.
| [in] | str | A char pointer to a C-string to add to the buffer. |
Definition at line 557 of file flatbuffer_builder.h.
|
inline |
Store a string in the buffer, which is null-terminated.
| [in] | str | A const char pointer to a C-string to add to the buffer. |
Definition at line 549 of file flatbuffer_builder.h.
|
inline |
Store a string in the buffer, which can contain any binary data.
| [in] | str | A const char pointer to the data to be stored as a string. |
| [in] | len | The number of bytes that should be stored from str. |
Definition at line 539 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfStrings(), exo::circle_detail::exportOpDefinedTensor(), and exo::tflite_detail::exportOpDefinedTensor().
|
inline |
Store a string in the buffer, which can contain any binary data.
| [in] | str | A const reference to a std::string to store in the buffer. |
Definition at line 565 of file flatbuffer_builder.h.
|
inline |
Store a string in the buffer, which can contain any binary data.
| [in] | str | A const pointer to a String struct to add to the buffer. |
Definition at line 585 of file flatbuffer_builder.h.
|
inline |
Store a string in the buffer, which can contain any binary data.
| [in] | str | A const reference to a std::string like type with support of T::c_str() and T::length() to store in the buffer. |
Definition at line 597 of file flatbuffer_builder.h.
|
inline |
Write a struct by itself, typically to be part of a union.
Definition at line 1204 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, and flatbuffers::vector_downward< SizeT >::push_small().
|
inline |
Specialized version of CreateVector for non-copying use cases. Write the data any time later to the returned buffer pointer buf.
| [in] | len | The number of elements to store in the vector. |
| [in] | elemsize | The size of each element in the vector. |
| [out] | buf | A pointer to a uint8_t pointer that can be written to at a later time to serialize the data into a vector in the buffer. |
Definition at line 1152 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, flatbuffers::vector_downward< SizeT >::data_at(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetSizeRelative32BitRegion(), and flatbuffers::vector_downward< SizeT >::make_space().
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateUninitializedVector(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateUninitializedVector(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateUninitializedVectorOfStructs().
|
inline |
Definition at line 1164 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateUninitializedVector().
|
inline |
Specialized version of CreateVector for non-copying use cases. Write the data any time later to the returned buffer pointer buf.
| T | The data type of the data that will be stored in the buffer as a vector. |
| [in] | len | The number of elements to store in the vector. |
| [out] | buf | A pointer to a pointer of type T that can be written to at a later time to serialize the data into a vector in the buffer. |
Definition at line 1178 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateUninitializedVector().
|
inline |
Definition at line 1185 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateUninitializedVector().
|
inline |
Serialize an array like object into a FlatBuffer vector.
| T | The data type of the array elements. |
| C | The type of the array. |
| [in] | array | A reference to an array like object of type T to serialize into the buffer as a vector. |
Offset into the serialized data indicating where the vector is stored. Definition at line 760 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector().
|
inline |
Definition at line 775 of file flatbuffer_builder.h.
|
inline |
Definition at line 801 of file flatbuffer_builder.h.
|
inline |
Serialize a std::vector into a FlatBuffer vector.
| T | The data type of the std::vector elements. |
| v | A const reference to the std::vector to serialize into the buffer as a vector. |
Offset into the serialized data indicating where the vector is stored. Definition at line 788 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), and flatbuffers::data().
|
inline |
Serialize an array into a FlatBuffer vector.
| T | The data type of the array elements. |
| OffsetT | the type of offset to return |
| VectorT | the type of vector to cast to. |
| [in] | v | A pointer to the array of type T to serialize into the buffer as a vector. |
| [in] | len | The number of elements to serialize. |
TOffset into the serialized data indicating where the vector is stored. Definition at line 727 of file flatbuffer_builder.h.
Referenced by as_tflite_sparse_index_vec(), tflite2circle::build_circle_ReshapeOptions(), tflite2circle::build_circle_SqueezeOptions(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedTables(), AddV2Chef::custom_value(), AllChef::custom_value(), BatchMatMulV2Chef::custom_value(), BroadcastToChef::custom_value(), ErfChef::custom_value(), MatMulChef::custom_value(), MatrixBandPartChef::custom_value(), MaxPoolWithArgmaxChef::custom_value(), tflite2circle::get_circle_sparse_index_vector(), ReshapeChef::value(), SqueezeChef::value(), luci::OperationExporterRule::visit(), luci::BuiltinOptionsExtractor::visit(), and luci::BuiltinOptionsExtractor::visit().
|
inline |
Serialize values returned by a function into a FlatBuffer vector. This is a convenience function that takes care of iteration for you.
| T | The data type of the std::vector elements. |
| f | A function that takes the current iteration 0..vector_size-1 and returns any type that you can construct a FlatBuffers vector out of. |
Offset into the serialized data indicating where the vector is stored. Definition at line 817 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), and FLATBUFFERS_ASSERT.
|
inline |
Serialize values returned by a function into a FlatBuffer vector. This is a convenience function that takes care of iteration for you. This uses a vector stored on the heap to store the intermediate results of the iteration.
| T | The data type of the std::vector elements. |
| f | A function that takes the current iteration 0..vector_size-1, and the state parameter returning any type that you can construct a FlatBuffers vector out of. |
| state | State passed to f. |
Offset into the serialized data indicating where the vector is stored. Definition at line 837 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector(), and FLATBUFFERS_ASSERT.
|
inline |
Serialize an initializer list into a FlatBuffer vector.
| T | The data type of the initializer list elements. |
| [in] | v | The value of the initializer list. |
Offset into the serialized data indicating where the vector is stored. Definition at line 770 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector().
|
inline |
Definition at line 794 of file flatbuffer_builder.h.
References flatbuffers::data().
|
inline |
Serialize an array of native structs into a FlatBuffer vector.
| T | The data type of the struct array elements. |
| S | The data type of the native struct array elements. |
| [in] | v | A pointer to the array of type S to serialize into the buffer as a vector. |
| [in] | len | The number of elements to serialize. |
Offset into the serialized data indicating where the vector is stored. Definition at line 996 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfNativeStructs(), and S.
|
inline |
Serialize an array of native structs into a FlatBuffer vector.
| T | The data type of the struct array elements. |
| S | The data type of the native struct array elements. |
| [in] | v | A pointer to the array of type S to serialize into the buffer as a vector. |
| [in] | len | The number of elements to serialize. |
| [in] | pack_func | Pointer to a function to convert the native struct to the FlatBuffer struct. |
Offset into the serialized data indicating where the vector is stored. Definition at line 979 of file flatbuffer_builder.h.
References FLATBUFFERS_ASSERT.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfNativeStructs().
|
inline |
Serialize a std::vector of native structs into a FlatBuffer vector.
| T | The data type of the std::vector struct elements. |
| S | The data type of the std::vector native struct elements. |
| [in] | v | A const reference to the std::vector of structs to serialize into the buffer as a vector. |
Offset into the serialized data indicating where the vector is stored. Definition at line 1027 of file flatbuffer_builder.h.
References flatbuffers::data().
|
inline |
Serialize a std::vector of native structs into a FlatBuffer vector.
| T | The data type of the std::vector struct elements. |
| S | The data type of the std::vector native struct elements. |
| [in] | v | A const reference to the std::vector of structs to serialize into the buffer as a vector. |
| [in] | pack_func | Pointer to a function to convert the native struct to the FlatBuffer struct. |
Offset into the serialized data indicating where the vector is stored. Definition at line 1013 of file flatbuffer_builder.h.
References flatbuffers::data().
|
inline |
Serialize an array of native structs into a FlatBuffer vector in sorted order.
| T | The data type of the struct array elements. |
| S | The data type of the native struct array elements. |
| [in] | v | A pointer to the array of type S to serialize into the buffer as a vector. |
| [in] | len | The number of elements to serialize. |
Offset into the serialized data indicating where the vector is stored. Definition at line 1091 of file flatbuffer_builder.h.
References S.
|
inline |
Serialize a std::vector of native structs into a FlatBuffer vector in sorted order.
| T | The data type of the std::vector struct elements. |
| S | The data type of the std::vector native struct elements. |
| [in] | v | A const reference to the std::vector of structs to serialize into the buffer as a vector. |
Offset into the serialized data indicating where the vector is stored. Definition at line 1062 of file flatbuffer_builder.h.
References flatbuffers::data().
|
inline |
Serialize a std::vector of structs into a FlatBuffer vector in sorted order.
| T | The data type of the std::vector struct elements. |
| [in] | v | A const reference to the std::vector of structs to serialize into the buffer as a vector. |
Offset into the serialized data indicating where the vector is stored. Definition at line 1048 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedStructs(), and flatbuffers::data().
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedStructs().
|
inline |
Serialize an array of structs into a FlatBuffer vector in sorted order.
| T | The data type of the struct array elements. |
| [in] | v | A pointer to the array of type T to serialize into the buffer as a vector. |
| [in] | len | The number of elements to serialize. |
Offset into the serialized data indicating where the vector is stored. Definition at line 1076 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfStructs().
|
inline |
Serialize an array of table offsets as a vector in the buffer in sorted order.
| T | The data type that the offset refers to. |
| [in] | v | An array of type Offset<T> that contains the table offsets to store in the buffer in sorted order. |
| [in] | len | The number of elements to store in the vector. |
Offset into the serialized data indicating where the vector is stored. Definition at line 1126 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVector().
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedTables().
|
inline |
Serialize an array of table offsets as a vector in the buffer in sorted order.
| T | The data type that the offset refers to. |
| [in] | v | An array of type Offset<T> that contains the table offsets to store in the buffer in sorted order. |
Offset into the serialized data indicating where the vector is stored. Definition at line 1140 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedTables(), and flatbuffers::data().
|
inline |
Serialize a std::vector<StringType> into a FlatBuffer vector. whereas StringType is any type that is accepted by the CreateString() overloads. This is a convenience function for a common case.
| v | A const reference to the std::vector to serialize into the buffer as a vector. |
Offset into the serialized data indicating where the vector is stored. Definition at line 854 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfStrings().
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfStrings().
|
inline |
Serialize a collection of Strings into a FlatBuffer vector. This is a convenience function for a common case.
| begin | The beginning iterator of the collection |
| end | The ending iterator of the collection |
Offset into the serialized data indicating where the vector is stored. Definition at line 866 of file flatbuffer_builder.h.
References begin, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateString(), flatbuffers::vector_downward< SizeT >::ensure_space(), flatbuffers::vector_downward< SizeT >::scratch_end(), flatbuffers::vector_downward< SizeT >::scratch_pop(), flatbuffers::vector_downward< SizeT >::scratch_push_small(), and size.
|
inline |
Serialize a std::vector of structs into a FlatBuffer vector.
| T | The data type of the std::vector struct elements. |
| [in] | v | A const reference to the std::vector of structs to serialize into the buffer as a vector. |
Offset into the serialized data indicating where the vector is stored. Definition at line 957 of file flatbuffer_builder.h.
References flatbuffers::data().
|
inline |
Serialize an array of structs into a FlatBuffer vector.
| T | The data type of the struct array elements. |
| [in] | v | A pointer to the array of type T to serialize into the buffer as a vector. |
| [in] | len | The number of elements to serialize. |
Offset into the serialized data indicating where the vector is stored. Definition at line 896 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedStructs().
|
inline |
Serialize an array of structs into a FlatBuffer vector.
| T | The data type of the struct array elements. |
| [in] | filler | A function that takes the current iteration 0..vector_size-1 and a pointer to the struct that must be filled. |
Offset into the serialized data indicating where the vector is stored. This is mostly useful when flatbuffers are generated with mutation accessors. Definition at line 918 of file flatbuffer_builder.h.
|
inline |
Serialize an array of structs into a FlatBuffer vector.
| T | The data type of the struct array elements. |
| [in] | f | A function that takes the current iteration 0..vector_size-1, a pointer to the struct that must be filled and the state argument. |
| [in] | state | Arbitrary state to pass to f. |
Offset into the serialized data indicating where the vector is stored. This is mostly useful when flatbuffers are generated with mutation accessors. Definition at line 938 of file flatbuffer_builder.h.
|
inline |
Definition at line 963 of file flatbuffer_builder.h.
References flatbuffers::data().
|
inline |
Definition at line 1195 of file flatbuffer_builder.h.
|
inline |
By default vtables are deduped in order to save space.
| [in] | dedup | When set to true, dedup vtables. |
Definition at line 284 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::dedup_vtables_.
|
inline |
Finish serializing a buffer by writing the root offset.
| [in] | file_identifier | If a file_identifier is given, the buffer will be prefixed with a standard FlatBuffers file header. |
Definition at line 1216 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Finish().
Referenced by tflite2circle::build_circle_AbsOptions(), tflite2circle::build_circle_AddNOptions(), tflite2circle::build_circle_AddOptions(), tflite2circle::build_circle_ArgMaxOptions(), tflite2circle::build_circle_ArgMinOptions(), tflite2circle::build_circle_BatchMatMulOptions(), tflite2circle::build_circle_BatchToSpaceNDOptions(), tflite2circle::build_circle_BidirectionalSequenceLSTMOptions(), tflite2circle::build_circle_BroadcastToOptions(), tflite2circle::build_circle_CastOptions(), tflite2circle::build_circle_ConcatenationOptions(), tflite2circle::build_circle_Conv2DOptions(), tflite2circle::build_circle_CosOptions(), tflite2circle::build_circle_CumsumOptions(), tflite2circle::build_circle_DensifyOptions(), tflite2circle::build_circle_DepthToSpaceOptions(), tflite2circle::build_circle_DepthwiseConv2DOptions(), tflite2circle::build_circle_DequantizeOptions(), tflite2circle::build_circle_DivOptions(), tflite2circle::build_circle_EqualOptions(), tflite2circle::build_circle_ExpandDimsOptions(), tflite2circle::build_circle_ExpOptions(), tflite2circle::build_circle_FakeQuantOptions(), tflite2circle::build_circle_FillOptions(), tflite2circle::build_circle_FloorDivOptions(), tflite2circle::build_circle_FloorModOptions(), tflite2circle::build_circle_FullyConnectedOptions(), tflite2circle::build_circle_GatherNdOptions(), tflite2circle::build_circle_GatherOptions(), tflite2circle::build_circle_GeluOptions(), tflite2circle::build_circle_GreaterEqualOptions(), tflite2circle::build_circle_GreaterOptions(), tflite2circle::build_circle_IfOptions(), tflite2circle::build_circle_L2NormOptions(), tflite2circle::build_circle_LeakyReluOptions(), tflite2circle::build_circle_LessEqualOptions(), tflite2circle::build_circle_LessOptions(), tflite2circle::build_circle_LocalResponseNormalizationOptions(), tflite2circle::build_circle_LogicalAndOptions(), tflite2circle::build_circle_LogicalNotOptions(), tflite2circle::build_circle_LogicalOrOptions(), tflite2circle::build_circle_LogSoftmaxOptions(), tflite2circle::build_circle_MatrixDiagOptions(), tflite2circle::build_circle_MatrixSetDiagOptions(), tflite2circle::build_circle_MaximumMinimumOptions(), tflite2circle::build_circle_MirrorPadOptions(), tflite2circle::build_circle_MulOptions(), tflite2circle::build_circle_NegOptions(), tflite2circle::build_circle_NonMaxSuppressionV4Options(), tflite2circle::build_circle_NonMaxSuppressionV5Options(), tflite2circle::build_circle_NotEqualOptions(), tflite2circle::build_circle_OneHotOptions(), tflite2circle::build_circle_PackOptions(), tflite2circle::build_circle_PadOptions(), tflite2circle::build_circle_PadV2Options(), tflite2circle::build_circle_Pool2DOptions(), tflite2circle::build_circle_PowOptions(), tflite2circle::build_circle_RangeOptions(), tflite2circle::build_circle_RankOptions(), tflite2circle::build_circle_ReducerOptions(), tflite2circle::build_circle_ReshapeOptions(), tflite2circle::build_circle_ResizeBilinearOptions(), tflite2circle::build_circle_ResizeNearestNeighborOptions(), tflite2circle::build_circle_ReverseSequenceOptions(), tflite2circle::build_circle_ReverseV2Options(), tflite2circle::build_circle_ScatterNdOptions(), tflite2circle::build_circle_SegmentSumOptions(), tflite2circle::build_circle_SelectOptions(), tflite2circle::build_circle_SelectV2Options(), tflite2circle::build_circle_ShapeOptions(), tflite2circle::build_circle_SliceOptions(), tflite2circle::build_circle_SoftmaxOptions(), tflite2circle::build_circle_SpaceToBatchNDOptions(), tflite2circle::build_circle_SpaceToDepthOptions(), tflite2circle::build_circle_SparseToDenseOptions(), tflite2circle::build_circle_SplitOptions(), tflite2circle::build_circle_SplitVOptions(), tflite2circle::build_circle_SquaredDifferenceOptions(), tflite2circle::build_circle_SquareOptions(), tflite2circle::build_circle_SqueezeOptions(), tflite2circle::build_circle_StridedSliceOptions(), tflite2circle::build_circle_SubOptions(), tflite2circle::build_circle_SVDFOptions(), tflite2circle::build_circle_TileOptions(), tflite2circle::build_circle_TopKV2Options(), tflite2circle::build_circle_TransposeConvOptions(), tflite2circle::build_circle_TransposeOptions(), tflite2circle::build_circle_UnidirectionalSequenceLSTMOptions(), tflite2circle::build_circle_UniqueOptions(), tflite2circle::build_circle_UnpackOptions(), tflite2circle::build_circle_WhereOptions(), tflite2circle::build_circle_WhileOptions(), tflite2circle::build_circle_ZerosLikeOptions(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Finish(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::FinishSizePrefixed(), tflite2circle::get_circle_sparse_index_vector(), onert::exporter::TrainInfoBuilder::TrainInfoBuilder(), BatchMatMulChef::value(), BCQFullyConnectedChef::value(), BCQGatherChef::value(), FullyConnectedChef::value(), GRUChef::value(), InstanceNormChef::value(), RmsNormChef::value(), RoPEChef::value(), AbsChef::value(), AddChef::value(), AddNChef::value(), ArgMaxChef::value(), ArgMinChef::value(), AveragePool2DChef::value(), BatchToSpaceNDChef::value(), CastChef::value(), ConcatenationChef::value(), Conv2DChef::value(), CosChef::value(), CumSumChef::value(), DensifyChef::value(), DepthToSpaceChef::value(), DepthwiseConv2DChef::value(), DivChef::value(), EqualChef::value(), ExpChef::value(), ExpandDimsChef::value(), FakeQuantChef::value(), FillChef::value(), FloorDivChef::value(), FloorModChef::value(), GatherChef::value(), GatherNdChef::value(), GeluChef::value(), GreaterChef::value(), GreaterEqualChef::value(), IfChef::value(), L2Pool2DChef::value(), LeakyReluChef::value(), LessChef::value(), LessEqualChef::value(), LocalResponseNormalizationChef::value(), LogicalAndChef::value(), LogicalNotChef::value(), LogicalOrChef::value(), LogSoftmaxChef::value(), MatrixDiagChef::value(), MatrixSetDiagChef::value(), MaximumChef::value(), MaxPool2DChef::value(), MeanChef::value(), MinimumChef::value(), MirrorPadChef::value(), MulChef::value(), NegChef::value(), NonMaxSuppressionV4Chef::value(), NonMaxSuppressionV5Chef::value(), NotEqualChef::value(), OneHotChef::value(), PackChef::value(), PadChef::value(), PadV2Chef::value(), PowChef::value(), RangeChef::value(), RankChef::value(), ReduceAnyChef::value(), ReduceMaxChef::value(), ReduceMinChef::value(), ReduceProdChef::value(), ReshapeChef::value(), ResizeBilinearChef::value(), ResizeNearestNeighborChef::value(), ReverseSequenceChef::value(), ReverseV2Chef::value(), ScatterNdChef::value(), SegmentSumChef::value(), SelectChef::value(), SelectV2Chef::value(), ShapeChef::value(), SliceChef::value(), SoftmaxChef::value(), SpaceToBatchNDChef::value(), SpaceToDepthChef::value(), SplitChef::value(), SplitVChef::value(), SquareChef::value(), SquaredDifferenceChef::value(), StridedSliceChef::value(), SubChef::value(), SumChef::value(), SVDFChef::value(), TileChef::value(), TopKV2Chef::value(), TransposeChef::value(), UniqueChef::value(), UnpackChef::value(), WhereChef::value(), WhileChef::value(), and ZerosLikeChef::value().
|
inlineprotected |
Definition at line 1246 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, flatbuffers::vector_downward< SizeT >::clear_scratch(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::finished, FLATBUFFERS_ASSERT, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetSize(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::kFileIdentifierLength, and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::minalign_.
|
inline |
Finish a buffer with a 32 bit size field pre-fixed (size of the buffer following the size field). These buffers are NOT compatible with standard buffers created by Finish, i.e. you can't call GetRoot on them, you have to use GetSizePrefixedRoot instead. All >32 bit quantities in this buffer will be aligned when the whole size pre-fixed buffer is aligned. These kinds of buffers are useful for creating a stream of FlatBuffers.
Definition at line 1228 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Finish().
|
inline |
Get the released pointer to the serialized buffer.
FlatBuffer that owns the buffer and its allocator and behaves similar to a unique_ptr with a deleter. Definition at line 227 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, and flatbuffers::vector_downward< SizeT >::release().
|
inline |
In order to save space, fields that are set to their default value don't get serialized into the buffer.
| [in] | fd | When set to true, always serializes default values that are set. Optional fields which are not set explicitly, will still not be serialized. |
Definition at line 280 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::force_defaults_.
Referenced by flatbuffers::Parser::Parser().
|
inline |
get the minimum alignment this buffer needs to be accessed properly. This is only known once all elements have been written (after you call Finish()). You can use this information if you need to embed a FlatBuffer in some other buffer, such that you can later read it without first having to copy it into its own buffer.
Definition at line 259 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::minalign_.
|
inline |
Get the serialized buffer (after you call Finish()).
uint8_t pointer to the FlatBuffer data inside the buffer. Definition at line 206 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, and flatbuffers::vector_downward< SizeT >::data().
Referenced by onert::exporter::TrainInfoBuilder::get(), luci::CircleExporterImpl::getBufferPointer(), and onert::exporter::TrainInfoBuilder::TrainInfoBuilder().
|
inline |
Get the serialized buffer (after you call Finish()) as a span.
Definition at line 214 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, flatbuffers::vector_downward< SizeT >::data(), and flatbuffers::vector_downward< SizeT >::size().
|
inline |
Get a pointer to an unfinished buffer.
uint8_t pointer to the unfinished buffer. Definition at line 221 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, and flatbuffers::vector_downward< SizeT >::data().
Referenced by flatbuffers::GetMutableTemporaryPointer().
|
inline |
The current size of the serialized buffer, counting from the end.
SizeT with the current size of the buffer. Definition at line 178 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, and flatbuffers::vector_downward< SizeT >::size().
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Finish(), luci::CircleExporterImpl::getBufferSize(), flatbuffers::GetMutableTemporaryPointer(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetSizeRelative32BitRegion(), onert::exporter::TrainInfoBuilder::size(), and onert::exporter::TrainInfoBuilder::TrainInfoBuilder().
|
inline |
The current size of the serialized buffer relative to the end of the 32-bit region.
uoffset_t with the current size of the buffer. Definition at line 187 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetSize(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::length_of_64_bit_region_.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateUninitializedVector().
|
inline |
Definition at line 198 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetSize().
|
protected |
|
inlinenoexcept |
Move assignment operator for FlatBufferBuilder.
Definition at line 134 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
inline |
Get the released DetachedBuffer.
DetachedBuffer that owns the buffer and its allocator. Definition at line 235 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, and flatbuffers::vector_downward< SizeT >::release().
|
inline |
Get the released pointer to the serialized buffer.
| size | The size of the memory block containing the serialized FlatBuffer. |
| offset | The offset from the released pointer where the finished FlatBuffer starts. |
FlatBuffer. Definition at line 249 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, offset(), flatbuffers::vector_downward< SizeT >::release_raw(), and size.
|
inline |
Definition at line 159 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Clear(), and flatbuffers::vector_downward< SizeT >::reset().
|
inline |
Definition at line 141 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::dedup_vtables_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::finished, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::force_defaults_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::length_of_64_bit_region_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::max_voffset_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::minalign_, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::nested, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::num_field_loc, flatbuffers::FlatBufferBuilderImpl< Is64Aware >::string_pool, and flatbuffers::vector_downward< SizeT >::swap().
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::FlatBufferBuilderImpl(), flatbuffers::grpc::MessageBuilder::MessageBuilder(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::operator=().
|
inline |
Definition at line 1233 of file flatbuffer_builder.h.
References flatbuffers::FlatBufferBuilderImpl< Is64Aware >::buf_, and flatbuffers::vector_downward< SizeT >::swap_allocator().
|
protected |
Definition at line 1275 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Clear(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateSharedString(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateStruct(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateUninitializedVector(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfSortedTables(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateVectorOfStrings(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Finish(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::FLATBUFFERS_ATTRIBUTE(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetBufferPointer(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetBufferSpan(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetCurrentBufferPointer(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetSize(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Release(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::ReleaseRaw(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Reset(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap(), flatbuffers::grpc::MessageBuilder::Swap(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::SwapBufAllocator().
|
protected |
Definition at line 1314 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::DedupVtables(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
protected |
Definition at line 1308 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Clear(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Finish(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
protected |
Definition at line 1312 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::ForceDefaults(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
static |
The length of a FlatBuffer file header.
Definition at line 1238 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Finish().
|
protected |
Definition at line 1302 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Clear(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetSizeRelative32BitRegion(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
protected |
Definition at line 1282 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
protected |
Definition at line 1310 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Clear(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Finish(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::GetBufferMinAlignment(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
protected |
Definition at line 1305 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Clear(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
protected |
Definition at line 1279 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap().
|
protected |
Definition at line 1330 of file flatbuffer_builder.h.
Referenced by flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Clear(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::CreateSharedString(), flatbuffers::FlatBufferBuilderImpl< Is64Aware >::Swap(), and flatbuffers::FlatBufferBuilderImpl< Is64Aware >::~FlatBufferBuilderImpl().