Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | List of all members
flatbuffers::Array< T, length > Class Template Reference

#include <flatbuffers.h>

Public Types

typedef VectorIterator< T, return_typeconst_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
 
const uint8_t * Data () const
 
uint8_t * Data ()
 
const T * data () const
 
T * data ()
 
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
 

Protected Member Functions

 Array ()
 
void CopyFromSpanImpl (flatbuffers::integral_constant< bool, true >, flatbuffers::span< const T, length > src)
 
void CopyFromSpanImpl (flatbuffers::integral_constant< bool, false >, flatbuffers::span< const T, length > src)
 
void MutateImpl (flatbuffers::integral_constant< bool, true >, uoffset_t i, const T &val)
 
void MutateImpl (flatbuffers::integral_constant< bool, false >, uoffset_t i, const T &val)
 

Protected Attributes

uint8_t data_ [length *sizeof(T)]
 

Private Types

typedef flatbuffers::conditional< scalar_tag::value, T, const T * >::type IndirectHelperType
 
typedef flatbuffers::integral_constant< bool, flatbuffers::is_scalar< T >::value > scalar_tag
 

Private Member Functions

 Array (const Array &)
 
Arrayoperator= (const Array &)
 

Detailed Description

template<typename T, uint16_t length>
class flatbuffers::Array< T, length >

Definition at line 567 of file flatbuffers.h.

Member Typedef Documentation

◆ const_iterator

template<typename T , uint16_t length>
typedef VectorIterator<T, return_type> flatbuffers::Array< T, length >::const_iterator

Definition at line 577 of file flatbuffers.h.

◆ const_reverse_iterator

template<typename T , uint16_t length>
typedef VectorReverseIterator<const_iterator> flatbuffers::Array< T, length >::const_reverse_iterator

Definition at line 578 of file flatbuffers.h.

◆ IndirectHelperType

template<typename T , uint16_t length>
typedef flatbuffers::conditional<scalar_tag::value, T, const T*>::type flatbuffers::Array< T, length >::IndirectHelperType
private

Definition at line 572 of file flatbuffers.h.

◆ return_type

template<typename T , uint16_t length>
typedef IndirectHelper<IndirectHelperType>::return_type flatbuffers::Array< T, length >::return_type

Definition at line 576 of file flatbuffers.h.

◆ scalar_tag

template<typename T , uint16_t length>
typedef flatbuffers::integral_constant<bool, flatbuffers::is_scalar<T>::value> flatbuffers::Array< T, length >::scalar_tag
private

Definition at line 570 of file flatbuffers.h.

◆ size_type

template<typename T , uint16_t length>
typedef uint16_t flatbuffers::Array< T, length >::size_type

Definition at line 575 of file flatbuffers.h.

Constructor & Destructor Documentation

◆ Array() [1/2]

template<typename T , uint16_t length>
flatbuffers::Array< T, length >::Array ( )
protected

◆ Array() [2/2]

template<typename T , uint16_t length>
flatbuffers::Array< T, length >::Array ( const Array< T, length > &  )
private

Member Function Documentation

◆ begin()

template<typename T , uint16_t length>
const_iterator flatbuffers::Array< T, length >::begin ( ) const
inline

Definition at line 605 of file flatbuffers.h.

◆ cbegin()

template<typename T , uint16_t length>
const_iterator flatbuffers::Array< T, length >::cbegin ( ) const
inline

Definition at line 623 of file flatbuffers.h.

◆ cend()

template<typename T , uint16_t length>
const_iterator flatbuffers::Array< T, length >::cend ( ) const
inline

Definition at line 627 of file flatbuffers.h.

◆ CopyFromSpan()

template<typename T , uint16_t length>
void flatbuffers::Array< T, length >::CopyFromSpan ( flatbuffers::span< const T, length >  src)
inline

Definition at line 682 of file flatbuffers.h.

◆ CopyFromSpanImpl() [1/2]

template<typename T , uint16_t length>
void flatbuffers::Array< T, length >::CopyFromSpanImpl ( flatbuffers::integral_constant< bool, true >  ,
flatbuffers::span< const T, length >  src 
)
inlineprotected

Definition at line 708 of file flatbuffers.h.

◆ CopyFromSpanImpl() [2/2]

template<typename T , uint16_t length>
void flatbuffers::Array< T, length >::CopyFromSpanImpl ( flatbuffers::integral_constant< bool, false >  ,
flatbuffers::span< const T, length >  src 
)
inlineprotected

Definition at line 718 of file flatbuffers.h.

◆ crbegin()

template<typename T , uint16_t length>
const_reverse_iterator flatbuffers::Array< T, length >::crbegin ( ) const
inline

Definition at line 632 of file flatbuffers.h.

◆ crend()

template<typename T , uint16_t length>
const_reverse_iterator flatbuffers::Array< T, length >::crend ( ) const
inline

Definition at line 636 of file flatbuffers.h.

◆ Data() [1/2]

template<typename T , uint16_t length>
const uint8_t* flatbuffers::Array< T, length >::Data ( ) const
inline

Definition at line 660 of file flatbuffers.h.

◆ Data() [2/2]

template<typename T , uint16_t length>
uint8_t* flatbuffers::Array< T, length >::Data ( )
inline

Definition at line 665 of file flatbuffers.h.

◆ data() [1/2]

template<typename T , uint16_t length>
const T* flatbuffers::Array< T, length >::data ( ) const
inline

Definition at line 671 of file flatbuffers.h.

◆ data() [2/2]

template<typename T , uint16_t length>
T* flatbuffers::Array< T, length >::data ( )
inline

Definition at line 675 of file flatbuffers.h.

◆ end()

template<typename T , uint16_t length>
const_iterator flatbuffers::Array< T, length >::end ( ) const
inline

Definition at line 609 of file flatbuffers.h.

◆ Get()

template<typename T , uint16_t length>
return_type flatbuffers::Array< T, length >::Get ( uoffset_t  i) const
inline

Definition at line 585 of file flatbuffers.h.

◆ GetEnum()

template<typename T , uint16_t length>
template<typename E >
E flatbuffers::Array< T, length >::GetEnum ( uoffset_t  i) const
inline

Definition at line 600 of file flatbuffers.h.

◆ GetMutablePointer()

template<typename T , uint16_t length>
flatbuffers::conditional<scalar_tag::value, void, T*>::type flatbuffers::Array< T, length >::GetMutablePointer ( uoffset_t  i) const
inline

Definition at line 647 of file flatbuffers.h.

◆ Mutate()

template<typename T , uint16_t length>
void flatbuffers::Array< T, length >::Mutate ( uoffset_t  i,
const T &  val 
)
inline

Definition at line 654 of file flatbuffers.h.

◆ MutateImpl() [1/2]

template<typename T , uint16_t length>
void flatbuffers::Array< T, length >::MutateImpl ( flatbuffers::integral_constant< bool, true >  ,
uoffset_t  i,
const T &  val 
)
inlineprotected

Definition at line 697 of file flatbuffers.h.

◆ MutateImpl() [2/2]

template<typename T , uint16_t length>
void flatbuffers::Array< T, length >::MutateImpl ( flatbuffers::integral_constant< bool, false >  ,
uoffset_t  i,
const T &  val 
)
inlineprotected

Definition at line 703 of file flatbuffers.h.

◆ operator=()

template<typename T , uint16_t length>
Array& flatbuffers::Array< T, length >::operator= ( const Array< T, length > &  )
private

◆ operator[]()

template<typename T , uint16_t length>
return_type flatbuffers::Array< T, length >::operator[] ( uoffset_t  i) const
inline

Definition at line 591 of file flatbuffers.h.

◆ rbegin()

template<typename T , uint16_t length>
const_reverse_iterator flatbuffers::Array< T, length >::rbegin ( ) const
inline

Definition at line 614 of file flatbuffers.h.

◆ rend()

template<typename T , uint16_t length>
const_reverse_iterator flatbuffers::Array< T, length >::rend ( ) const
inline

Definition at line 618 of file flatbuffers.h.

◆ size()

template<typename T , uint16_t length>
FLATBUFFERS_CONSTEXPR uint16_t flatbuffers::Array< T, length >::size ( ) const
inline

Definition at line 580 of file flatbuffers.h.

Member Data Documentation

◆ data_

template<typename T , uint16_t length>
uint8_t flatbuffers::Array< T, length >::data_[length *sizeof(T)]
protected

Definition at line 738 of file flatbuffers.h.


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


behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Mon Jul 3 2023 02:50:15