ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci_interpreter::VectorWrapper< T > Class Template Reference

Wrapper to use flatbuffers::Vector pointer as std::vector entity. More...

#include <CircleMicroReader.h>

Public Types

using iterator = typename flatbuffers::Vector< T >::const_iterator
 
using value_type = typename flatbuffers::Vector< T >::return_type
 

Public Member Functions

 VectorWrapper (const flatbuffers::Vector< T > *ptr)
 
const T * data () const
 
uint32_t size () const
 
iterator begin () const
 
iterator end () const
 
value_type at (uint32_t i) const
 
value_type operator[] (uint32_t i) const
 
bool null () const
 
bool empty () const
 

Detailed Description

template<typename T>
class luci_interpreter::VectorWrapper< T >

Wrapper to use flatbuffers::Vector pointer as std::vector entity.

Definition at line 123 of file CircleMicroReader.h.

Member Typedef Documentation

◆ iterator

template<typename T >
using luci_interpreter::VectorWrapper< T >::iterator = typename flatbuffers::Vector<T>::const_iterator

Definition at line 131 of file CircleMicroReader.h.

◆ value_type

template<typename T >
using luci_interpreter::VectorWrapper< T >::value_type = typename flatbuffers::Vector<T>::return_type

Definition at line 135 of file CircleMicroReader.h.

Constructor & Destructor Documentation

◆ VectorWrapper()

template<typename T >
luci_interpreter::VectorWrapper< T >::VectorWrapper ( const flatbuffers::Vector< T > *  ptr)
explicit

Member Function Documentation

◆ at()

template<typename T >
value_type luci_interpreter::VectorWrapper< T >::at ( uint32_t  i) const

◆ begin()

template<typename T >
iterator luci_interpreter::VectorWrapper< T >::begin ( ) const

◆ data()

template<typename T >
const T * luci_interpreter::VectorWrapper< T >::data ( ) const

◆ empty()

template<typename T >
bool luci_interpreter::VectorWrapper< T >::empty ( ) const

◆ end()

template<typename T >
iterator luci_interpreter::VectorWrapper< T >::end ( ) const

◆ null()

template<typename T >
bool luci_interpreter::VectorWrapper< T >::null ( ) const

◆ operator[]()

template<typename T >
value_type luci_interpreter::VectorWrapper< T >::operator[] ( uint32_t  i) const

◆ size()

template<typename T >
uint32_t luci_interpreter::VectorWrapper< T >::size ( ) const

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