VrepPath_generated.h
Go to the documentation of this file.
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 #ifndef FLATBUFFERS_GENERATED_VREPPATH_GRL_FLATBUFFER_H_
4 #define FLATBUFFERS_GENERATED_VREPPATH_GRL_FLATBUFFER_H_
5 
6 #include "flatbuffers/flatbuffers.h"
7 
8 #include "Euler_generated.h"
9 #include "Geometry_generated.h"
11 
12 namespace grl {
13 namespace flatbuffer {
14 struct Vector3d;
15 struct Quaternion;
16 struct Pose;
17 struct Wrench;
18 struct Inertia;
19 } // namespace flatbuffer
20 } // namespace grl
21 namespace grl {
22 namespace flatbuffer {
23 struct EulerXYZd;
24 struct EulerRotation;
25 struct EulerPose;
26 struct EulerTranslationParams;
27 struct EulerRotationParams;
28 struct EulerPoseParams;
29 } // namespace flatbuffer
30 } // namespace grl
31 namespace grl {
32 namespace flatbuffer {
33 struct VrepControlPoint;
34 } // namespace flatbuffer
35 } // namespace grl
36 
37 namespace grl {
38 namespace flatbuffer {
39 
40 struct VrepPath;
41 
42 struct VrepPath FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
43  const flatbuffers::Vector<flatbuffers::Offset<grl::flatbuffer::VrepControlPoint>> *controlPoints() const { return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<grl::flatbuffer::VrepControlPoint>> *>(4); }
44  bool Verify(flatbuffers::Verifier &verifier) const {
45  return VerifyTableStart(verifier) &&
46  VerifyField<flatbuffers::uoffset_t>(verifier, 4 /* controlPoints */) &&
47  verifier.Verify(controlPoints()) &&
48  verifier.VerifyVectorOfTables(controlPoints()) &&
49  verifier.EndTable();
50  }
51 };
52 
54  flatbuffers::FlatBufferBuilder &fbb_;
55  flatbuffers::uoffset_t start_;
56  void add_controlPoints(flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<grl::flatbuffer::VrepControlPoint>>> controlPoints) { fbb_.AddOffset(4, controlPoints); }
57  VrepPathBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); }
58  VrepPathBuilder &operator=(const VrepPathBuilder &);
59  flatbuffers::Offset<VrepPath> Finish() {
60  auto o = flatbuffers::Offset<VrepPath>(fbb_.EndTable(start_, 1));
61  return o;
62  }
63 };
64 
65 inline flatbuffers::Offset<VrepPath> CreateVrepPath(flatbuffers::FlatBufferBuilder &_fbb,
66  flatbuffers::Offset<flatbuffers::Vector<flatbuffers::Offset<grl::flatbuffer::VrepControlPoint>>> controlPoints = 0) {
67  VrepPathBuilder builder_(_fbb);
68  builder_.add_controlPoints(controlPoints);
69  return builder_.Finish();
70 }
71 
72 inline const grl::flatbuffer::VrepPath *GetVrepPath(const void *buf) { return flatbuffers::GetRoot<grl::flatbuffer::VrepPath>(buf); }
73 
74 inline bool VerifyVrepPathBuffer(flatbuffers::Verifier &verifier) { return verifier.VerifyBuffer<grl::flatbuffer::VrepPath>(); }
75 
76 inline void FinishVrepPathBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset<grl::flatbuffer::VrepPath> root) { fbb.Finish(root); }
77 
78 } // namespace flatbuffer
79 } // namespace grl
80 
81 #endif // FLATBUFFERS_GENERATED_VREPPATH_GRL_FLATBUFFER_H_
bool VerifyVrepPathBuffer(flatbuffers::Verifier &verifier)
VrepPathBuilder(flatbuffers::FlatBufferBuilder &_fbb)
flatbuffers::Offset< VrepPath > CreateVrepPath(flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< grl::flatbuffer::VrepControlPoint >>> controlPoints=0)
void FinishVrepPathBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< grl::flatbuffer::VrepPath > root)
void add_controlPoints(flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< grl::flatbuffer::VrepControlPoint >>> controlPoints)
flatbuffers::FlatBufferBuilder & fbb_
flatbuffers::Offset< VrepPath > Finish()
const flatbuffers::Vector< flatbuffers::Offset< grl::flatbuffer::VrepControlPoint > > * controlPoints() const
bool Verify(flatbuffers::Verifier &verifier) const
const grl::flatbuffer::VrepPath * GetVrepPath(const void *buf)