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
 

Detailed Description

Definition at line 277 of file idl.h.

Constructor & Destructor Documentation

◆ Definition()

flatbuffers::Definition::Definition ( )
inline

Definition at line 279 of file idl.h.

280 : generated(false), defined_namespace(nullptr), serialized_location(0), index(-1), refcount(1)
281 {
282 }
uoffset_t serialized_location
Definition idl.h:297
Namespace * defined_namespace
Definition idl.h:294

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 292 of file idl.h.

◆ defined_namespace

Namespace* flatbuffers::Definition::defined_namespace

Definition at line 294 of file idl.h.

◆ doc_comment

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

Definition at line 291 of file idl.h.

◆ file

std::string flatbuffers::Definition::file

Definition at line 290 of file idl.h.

◆ generated

bool flatbuffers::Definition::generated

Definition at line 293 of file idl.h.

◆ index

int flatbuffers::Definition::index

Definition at line 298 of file idl.h.

◆ name

std::string flatbuffers::Definition::name

Definition at line 289 of file idl.h.

Referenced by flatbuffers::EqualByName().

◆ refcount

int flatbuffers::Definition::refcount

Definition at line 299 of file idl.h.

◆ serialized_location

uoffset_t flatbuffers::Definition::serialized_location

Definition at line 297 of file idl.h.


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