ONE - On-device Neural Engine
Loading...
Searching...
No Matches
flatbuffers::Definition Struct Reference

#include <idl.h>

Collaboration diagram for flatbuffers::Definition:

Public Member Functions

 Definition ()
 
flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< reflection::KeyValue > > > SerializeAttributes (FlatBufferBuilder *builder, const Parser &parser) const
 
bool DeserializeAttributes (Parser &parser, const Vector< Offset< reflection::KeyValue > > *attrs)
 

Data Fields

std::string name
 
std::string file
 
std::vector< std::string > doc_comment
 
SymbolTable< Valueattributes
 
bool generated
 
Namespacedefined_namespace
 
uoffset_t serialized_location
 
int index
 
int refcount
 
const std::string * declaration_file
 

Detailed Description

Definition at line 296 of file idl.h.

Constructor & Destructor Documentation

◆ Definition()

flatbuffers::Definition::Definition ( )
inline

Definition at line 297 of file idl.h.

298 : generated(false),
299 defined_namespace(nullptr),
301 index(-1),
302 refcount(1),
303 declaration_file(nullptr) {}
const std::string * declaration_file
Definition idl.h:323
uoffset_t serialized_location
Definition idl.h:320
Namespace * defined_namespace
Definition idl.h:317

Member Function Documentation

◆ DeserializeAttributes()

bool flatbuffers::Definition::DeserializeAttributes ( Parser parser,
const Vector< Offset< reflection::KeyValue > > *  attrs 
)

◆ SerializeAttributes()

flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< reflection::KeyValue > > > flatbuffers::Definition::SerializeAttributes ( FlatBufferBuilder builder,
const Parser parser 
) const

Field Documentation

◆ attributes

SymbolTable<Value> flatbuffers::Definition::attributes

Definition at line 315 of file idl.h.

◆ declaration_file

const std::string* flatbuffers::Definition::declaration_file

Definition at line 323 of file idl.h.

◆ defined_namespace

Namespace* flatbuffers::Definition::defined_namespace

Definition at line 317 of file idl.h.

◆ doc_comment

std::vector<std::string> flatbuffers::Definition::doc_comment

Definition at line 314 of file idl.h.

◆ file

std::string flatbuffers::Definition::file

Definition at line 313 of file idl.h.

◆ generated

bool flatbuffers::Definition::generated

Definition at line 316 of file idl.h.

◆ index

int flatbuffers::Definition::index

Definition at line 321 of file idl.h.

Referenced by onert.experimental.train.dataloader.DataLoader::__next__().

◆ name

std::string flatbuffers::Definition::name

Definition at line 312 of file idl.h.

Referenced by flatbuffers::EqualByName().

◆ refcount

int flatbuffers::Definition::refcount

Definition at line 322 of file idl.h.

◆ serialized_location

uoffset_t flatbuffers::Definition::serialized_location

Definition at line 320 of file idl.h.


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