12 #ifndef HAMMER_HammerSerial_HH
13 #define HAMMER_HammerSerial_HH
15 #pragma clang diagnostic push
16 #pragma clang diagnostic ignored "-Wold-style-cast"
17 #pragma clang diagnostic ignored "-Wcovered-switch-default"
18 #pragma clang diagnostic ignored "-Wextra-semi"
19 #pragma clang diagnostic ignored "-Wsign-conversion"
20 #pragma clang diagnostic ignored "-Wdocumentation"
21 #pragma clang diagnostic ignored "-Wfloat-equal"
22 #pragma clang diagnostic ignored "-Wdocumentation-unknown-command"
23 #pragma clang diagnostic ignored "-Wundef"
24 #pragma clang diagnostic ignored "-Wreserved-id-macro"
26 #include "Hammer/Tools/HammerSerial_generated.h"
28 #pragma clang diagnostic pop
44 void add(flatbuffers::DetachedBuffer&& elem,
char kind);
50 const flatbuffers::DetachedBuffer&
buffer(
size_t pos)
const;
55 std::vector<flatbuffers::DetachedBuffer>
_data;
DetachedBuffers()=default
void add(flatbuffers::DetachedBuffer &&elem, char kind)
DetachedBuffers & operator=(const DetachedBuffers &)=delete
char bufferType(size_t pos) const
~DetachedBuffers()=default
std::vector< flatbuffers::DetachedBuffer > _data
std::vector< char > _types
const flatbuffers::DetachedBuffer & buffer(size_t pos) const