ONE - On-device Neural Engine
Loading...
Searching...
No Matches
flatbuffers::FlatCompiler Class Reference

#include <flatc.h>

Data Structures

struct  Generator
 
struct  InitParams
 

Public Types

typedef void(* WarnFn) (const FlatCompiler *flatc, const std::string &warn, bool show_exe_name)
 
typedef void(* ErrorFn) (const FlatCompiler *flatc, const std::string &err, bool usage, bool show_exe_name)
 

Public Member Functions

 FlatCompiler (const InitParams &params)
 
int Compile (int argc, const char **argv)
 
std::string GetUsageString (const char *program_name) const
 

Detailed Description

Definition at line 35 of file flatc.h.

Member Typedef Documentation

◆ ErrorFn

typedef void(* flatbuffers::FlatCompiler::ErrorFn) (const FlatCompiler *flatc, const std::string &err, bool usage, bool show_exe_name)

Definition at line 60 of file flatc.h.

◆ WarnFn

typedef void(* flatbuffers::FlatCompiler::WarnFn) (const FlatCompiler *flatc, const std::string &warn, bool show_exe_name)

Definition at line 58 of file flatc.h.

Constructor & Destructor Documentation

◆ FlatCompiler()

flatbuffers::FlatCompiler::FlatCompiler ( const InitParams params)
inlineexplicit

Definition at line 74 of file flatc.h.

74: params_(params) {}

Member Function Documentation

◆ Compile()

int flatbuffers::FlatCompiler::Compile ( int  argc,
const char **  argv 
)

◆ GetUsageString()

std::string flatbuffers::FlatCompiler::GetUsageString ( const char *  program_name) const

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