ArmNN
 24.08
ProgramBuilder Struct Reference

#include <ClContextSchema_generated.h>

Public Types

typedef Program Table
 

Public Member Functions

void add_name (flatbuffers::Offset< flatbuffers::String > name)
 
void add_binary (flatbuffers::Offset< flatbuffers::Vector< uint8_t >> binary)
 
 ProgramBuilder (flatbuffers::FlatBufferBuilder &_fbb)
 
ProgramBuilderoperator= (const ProgramBuilder &)
 
flatbuffers::Offset< Program > Finish ()
 

Public Attributes

flatbuffers::FlatBufferBuilder & fbb_
 
flatbuffers::uoffset_t start_
 

Detailed Description

Definition at line 96 of file ClContextSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef Program Table

Definition at line 97 of file ClContextSchema_generated.h.

Constructor & Destructor Documentation

◆ ProgramBuilder()

ProgramBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 106 of file ClContextSchema_generated.h.

107  : fbb_(_fbb) {
108  start_ = fbb_.StartTable();
109  }

References ProgramBuilder::fbb_, and ProgramBuilder::start_.

Member Function Documentation

◆ add_binary()

void add_binary ( flatbuffers::Offset< flatbuffers::Vector< uint8_t >>  binary)
inline

Definition at line 103 of file ClContextSchema_generated.h.

103  {
104  fbb_.AddOffset(Program::VT_BINARY, binary);
105  }

References ProgramBuilder::fbb_.

Referenced by armnn::CreateProgram().

◆ add_name()

void add_name ( flatbuffers::Offset< flatbuffers::String >  name)
inline

Definition at line 100 of file ClContextSchema_generated.h.

100  {
101  fbb_.AddOffset(Program::VT_NAME, name);
102  }

References ProgramBuilder::fbb_, and VT_NAME.

Referenced by armnn::CreateProgram().

◆ Finish()

flatbuffers::Offset<Program> Finish ( )
inline

Definition at line 111 of file ClContextSchema_generated.h.

111  {
112  const auto end = fbb_.EndTable(start_);
113  auto o = flatbuffers::Offset<Program>(end);
114  return o;
115  }

References ProgramBuilder::fbb_, and ProgramBuilder::start_.

Referenced by armnn::CreateProgram().

◆ operator=()

ProgramBuilder& operator= ( const ProgramBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

◆ start_

flatbuffers::uoffset_t start_

The documentation for this struct was generated from the following file:
VT_NAME
VT_NAME
Definition: ClContextSchema_generated.h:77
armnn::ProgramBuilder::fbb_
flatbuffers::FlatBufferBuilder & fbb_
Definition: ClContextSchema_generated.h:98
armnn::ProgramBuilder::start_
flatbuffers::uoffset_t start_
Definition: ClContextSchema_generated.h:99