#include "io/uri.h"
#include "util/stringatom.h"
#include "flatbuffers/flatbuffers.h"
#include "nflatbuffer/nebula_flat.h"
#include "util/blob.h"
#include "io/ioserver.h"
Go to the source code of this file.
|
namespace | Flat |
| Flatbuffer to Nebula type conversion functions.
|
|
◆ CompileFlatbuffer
#define CompileFlatbuffer |
( |
| TYPE, |
|
|
| SOURCE, |
|
|
| TARGET ) |
Value:
static bool Compile(IO::URI const &source, IO::URI const &targetFolder, const char *ident)
compile flatbuffer json to binary
Definition flatbufferinterface.cc:183
◆ SerializeFlatbufferText
#define SerializeFlatbufferText |
( |
| TYPE, |
|
|
| ITEM ) |
Value:
static Util::String SerializeHelper(ItemT const &item, const char *ident)
Helper function, use SerializeFlatbuffer macro instead.
Definition flatbufferinterface.h:63
Interface for dealing with flatbuffer files.
- Copyright
- (C) 2020 Individual contributors, see AUTHORS file
◆ SerializeFlatbufferTextDirect
#define SerializeFlatbufferTextDirect |
( |
| TYPE, |
|
|
| BUFFER ) |
Value:
static Util::String BufferToText(const uint8_t *buffer, Util::StringAtom identifier)
Definition flatbufferinterface.cc:173