4 #ifndef FLATBUFFERS_GENERATED_STRINGLOG_MAGAOX_LOGGER_H_ 5 #define FLATBUFFERS_GENERATED_STRINGLOG_MAGAOX_LOGGER_H_ 7 #include "flatbuffers/flatbuffers.h" 14 struct String_log_fb FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
18 const flatbuffers::String *
message()
const {
19 return GetPointer<const flatbuffers::String *>(VT_MESSAGE);
21 bool Verify(flatbuffers::Verifier &verifier)
const {
22 return VerifyTableStart(verifier) &&
23 VerifyOffset(verifier, VT_MESSAGE) &&
24 verifier.VerifyString(message()) &&
30 flatbuffers::FlatBufferBuilder &
fbb_;
32 void add_message(flatbuffers::Offset<flatbuffers::String> message) {
33 fbb_.AddOffset(String_log_fb::VT_MESSAGE, message);
37 start_ = fbb_.StartTable();
40 flatbuffers::Offset<String_log_fb>
Finish() {
41 const auto end = fbb_.EndTable(start_);
42 auto o = flatbuffers::Offset<String_log_fb>(end);
48 flatbuffers::FlatBufferBuilder &_fbb,
49 flatbuffers::Offset<flatbuffers::String> message = 0) {
56 flatbuffers::FlatBufferBuilder &_fbb,
57 const char *message =
nullptr) {
60 message ? _fbb.CreateString(message) : 0);
64 return flatbuffers::GetRoot<MagAOX::logger::String_log_fb>(buf);
68 return flatbuffers::GetSizePrefixedRoot<MagAOX::logger::String_log_fb>(buf);
72 flatbuffers::Verifier &verifier) {
73 return verifier.VerifyBuffer<MagAOX::logger::String_log_fb>(
nullptr);
77 flatbuffers::Verifier &verifier) {
78 return verifier.VerifySizePrefixedBuffer<MagAOX::logger::String_log_fb>(
nullptr);
82 flatbuffers::FlatBufferBuilder &fbb,
83 flatbuffers::Offset<MagAOX::logger::String_log_fb> root) {
88 flatbuffers::FlatBufferBuilder &fbb,
89 flatbuffers::Offset<MagAOX::logger::String_log_fb> root) {
90 fbb.FinishSizePrefixed(root);
96 #endif // FLATBUFFERS_GENERATED_STRINGLOG_MAGAOX_LOGGER_H_ bool VerifySizePrefixedString_log_fbBuffer(flatbuffers::Verifier &verifier)
flatbuffers::uoffset_t start_
void add_message(flatbuffers::Offset< flatbuffers::String > message)
void FinishString_log_fbBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::String_log_fb > root)
flatbuffers::FlatBufferBuilder & fbb_
void FinishSizePrefixedString_log_fbBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::String_log_fb > root)
bool Verify(flatbuffers::Verifier &verifier) const
bool VerifyString_log_fbBuffer(flatbuffers::Verifier &verifier)
flatbuffers::Offset< String_log_fb > CreateString_log_fbDirect(flatbuffers::FlatBufferBuilder &_fbb, const char *message=nullptr)
flatbuffers::Offset< String_log_fb > Finish()
flatbuffers::Offset< String_log_fb > CreateString_log_fb(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > message=0)
const MagAOX::logger::String_log_fb * GetString_log_fb(const void *buf)
const flatbuffers::String * message() const
String_log_fbBuilder(flatbuffers::FlatBufferBuilder &_fbb)
const MagAOX::logger::String_log_fb * GetSizePrefixedString_log_fb(const void *buf)