#include "idl_gen_binary.h"
#include <limits>
#include <memory>
#include <string>
#include <unordered_set>
#include "flatbuffers/base.h"
#include "flatbuffers/code_generators.h"
#include "flatbuffers/flatbuffers.h"
#include "flatbuffers/flatc.h"
#include "flatbuffers/idl.h"
#include "flatbuffers/util.h"
namespace flatbuffers {
namespace {
static std::string BinaryFileName(const Parser &parser, const std::string &path,
const std::string &file_name) { … }
static bool GenerateBinary(const Parser &parser, const std::string &path,
const std::string &file_name) { … }
static std::string BinaryMakeRule(const Parser &parser, const std::string &path,
const std::string &file_name) { … }
class BinaryCodeGenerator : public CodeGenerator { … };
}
std::unique_ptr<CodeGenerator> NewBinaryCodeGenerator() { … }
}