FlatBuffers
An open source project by FPL.
flatbuffers::Array< T, length > Class Template Reference

Public Types

typedef VectorIterator< T, return_type > const_iterator
 
typedef VectorReverseIterator< const_iteratorconst_reverse_iterator
 
typedef IndirectHelper< IndirectHelperType >::return_type return_type
 
typedef uint16_t size_type
 

Public Member Functions

const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
void CopyFromSpan (flatbuffers::span< const T, length > src)
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
uint8_t * Data ()
 
T * data ()
 
const uint8_t * Data () const
 
const T * data () const
 
const_iterator end () const
 
return_type Get (uoffset_t i) const
 
template<typename E >
GetEnum (uoffset_t i) const
 
flatbuffers::conditional< scalar_tag::value, void, T * >::type GetMutablePointer (uoffset_t i) const
 
void Mutate (uoffset_t i, const T &val)
 
return_type operator[] (uoffset_t i) const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
FLATBUFFERS_CONSTEXPR uint16_t size () const
 

Static Public Attributes

static FLATBUFFERS_CONSTEXPR bool is_span_observable
 

Protected Member Functions

void CopyFromSpanImpl (flatbuffers::false_type, flatbuffers::span< const T, length > src)
 
void CopyFromSpanImpl (flatbuffers::true_type, flatbuffers::span< const T, length > src)
 
void MutateImpl (flatbuffers::false_type, uoffset_t i, const T &val)
 
void MutateImpl (flatbuffers::true_type, uoffset_t i, const T &val)
 

Protected Attributes

uint8_t data_ [length *sizeof(T)]
 

Member Data Documentation

◆ is_span_observable

template<typename T , uint16_t length>
FLATBUFFERS_CONSTEXPR bool flatbuffers::Array< T, length >::is_span_observable
static
Initial value:
=
(scalar_tag::value && (FLATBUFFERS_LITTLEENDIAN || sizeof(T) == 1)) ||
!scalar_tag::value

The documentation for this class was generated from the following file: