ONE - On-device Neural Engine
Loading...
Searching...
No Matches
flatbuffers::IndirectHelper< const T * > Struct Template Reference

#include <flatbuffers.h>

Public Types

typedef const T * return_type
 
typedef T * mutable_return_type
 

Static Public Member Functions

static return_type Read (const uint8_t *p, uoffset_t i)
 

Static Public Attributes

static const size_t element_stride = sizeof(T)
 

Detailed Description

template<typename T>
struct flatbuffers::IndirectHelper< const T * >

Definition at line 129 of file flatbuffers.h.

Member Typedef Documentation

◆ mutable_return_type

template<typename T >
typedef T* flatbuffers::IndirectHelper< const T * >::mutable_return_type

Definition at line 132 of file flatbuffers.h.

◆ return_type

template<typename T >
typedef const T* flatbuffers::IndirectHelper< const T * >::return_type

Definition at line 131 of file flatbuffers.h.

Member Function Documentation

◆ Read()

template<typename T >
static return_type flatbuffers::IndirectHelper< const T * >::Read ( const uint8_t *  p,
uoffset_t  i 
)
inlinestatic

Definition at line 134 of file flatbuffers.h.

135 {
136 return reinterpret_cast<const T *>(p + i * sizeof(T));
137 }

Field Documentation

◆ element_stride

template<typename T >
const size_t flatbuffers::IndirectHelper< const T * >::element_stride = sizeof(T)
static

Definition at line 133 of file flatbuffers.h.


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