4 #ifndef FLATBUFFERS_GENERATED_STATECHANGE_MAGAOX_LOGGER_H_ 5 #define FLATBUFFERS_GENERATED_STATECHANGE_MAGAOX_LOGGER_H_ 7 #include "flatbuffers/flatbuffers.h" 12 struct State_change_fb;
14 struct State_change_fb FLATBUFFERS_FINAL_CLASS :
private flatbuffers::Table {
20 return GetField<int16_t>(VT_FROM, 0);
23 return GetField<int16_t>(VT_TO, 0);
25 bool Verify(flatbuffers::Verifier &verifier)
const {
26 return VerifyTableStart(verifier) &&
27 VerifyField<int16_t>(verifier, VT_FROM) &&
28 VerifyField<int16_t>(verifier, VT_TO) &&
34 flatbuffers::FlatBufferBuilder &
fbb_;
37 fbb_.AddElement<int16_t>(State_change_fb::VT_FROM, from, 0);
40 fbb_.AddElement<int16_t>(State_change_fb::VT_TO, to, 0);
44 start_ = fbb_.StartTable();
47 flatbuffers::Offset<State_change_fb>
Finish() {
48 const auto end = fbb_.EndTable(start_);
49 auto o = flatbuffers::Offset<State_change_fb>(end);
55 flatbuffers::FlatBufferBuilder &_fbb,
65 return flatbuffers::GetRoot<MagAOX::logger::State_change_fb>(buf);
69 return flatbuffers::GetSizePrefixedRoot<MagAOX::logger::State_change_fb>(buf);
73 flatbuffers::Verifier &verifier) {
74 return verifier.VerifyBuffer<MagAOX::logger::State_change_fb>(
nullptr);
78 flatbuffers::Verifier &verifier) {
79 return verifier.VerifySizePrefixedBuffer<MagAOX::logger::State_change_fb>(
nullptr);
83 flatbuffers::FlatBufferBuilder &fbb,
84 flatbuffers::Offset<MagAOX::logger::State_change_fb> root) {
89 flatbuffers::FlatBufferBuilder &fbb,
90 flatbuffers::Offset<MagAOX::logger::State_change_fb> root) {
91 fbb.FinishSizePrefixed(root);
97 #endif // FLATBUFFERS_GENERATED_STATECHANGE_MAGAOX_LOGGER_H_ bool VerifySizePrefixedState_change_fbBuffer(flatbuffers::Verifier &verifier)
void FinishState_change_fbBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::State_change_fb > root)
bool VerifyState_change_fbBuffer(flatbuffers::Verifier &verifier)
const MagAOX::logger::State_change_fb * GetState_change_fb(const void *buf)
const MagAOX::logger::State_change_fb * GetSizePrefixedState_change_fb(const void *buf)
void FinishSizePrefixedState_change_fbBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< MagAOX::logger::State_change_fb > root)
flatbuffers::FlatBufferBuilder & fbb_
bool Verify(flatbuffers::Verifier &verifier) const
flatbuffers::Offset< State_change_fb > Finish()
flatbuffers::uoffset_t start_
void add_from(int16_t from)
flatbuffers::Offset< State_change_fb > CreateState_change_fb(flatbuffers::FlatBufferBuilder &_fbb, int16_t from=0, int16_t to=0)
State_change_fbBuilder(flatbuffers::FlatBufferBuilder &_fbb)