|
Nebula
|
#include <flatbufferinterface.h>
Static Public Member Functions | |
| static void | Init () |
| Initialize datastructures and load all schema files in export. | |
| static bool | LoadSchema (IO::URI const &file) |
| static bool | CompileSchema (IO::URI const &file, IO::URI const &outFile) |
| static Util::Blob | ParseJson (IO::URI const &file) |
| static Util::Blob | ParseJson (IO::URI const &file, const Util::String &schema) |
| static bool | HasSchema (Util::StringAtom identifier) |
| template<typename BaseT, typename ItemT> | |
| static Util::String | SerializeHelper (ItemT const &item, const char *ident) |
| Helper function, use SerializeFlatbuffer macro instead. | |
| template<typename BaseT, typename ItemT> | |
| static Util::Blob | SerializeFlatbuffer (ItemT const &item) |
| Serialize to binary blob. | |
| template<typename BaseT, typename ItemT> | |
| static void | DeserializeFlatbufferFile (ItemT &item, IO::URI const &file) |
| template<typename BaseT, typename ItemT> | |
| static void | DeserializeFlatbuffer (ItemT &item, const uint8_t *buf) |
| template<typename BaseT, typename ItemT> | |
| static bool | DeserializeJsonFlatbuffer (ItemT &item, const IO::URI &file, const Util::String &rootName) |
| static Util::String | BufferToText (const uint8_t *buffer, Util::StringAtom identifier) |
| static bool | Compile (IO::URI const &source, IO::URI const &targetFolder, const char *ident) |
| compile flatbuffer json to binary | |
Static Private Member Functions | |
| static flatbuffers::Parser * | CreateParserForJson (IO::URI const &file) |
|
static |
|
static |
compile flatbuffer json to binary
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
Initialize datastructures and load all schema files in export.
|
static |
|
static |
|
static |
|
static |
Serialize to binary blob.
|
static |
Helper function, use SerializeFlatbuffer macro instead.