/shared/xrecorder/protobuf/DataRecord.pb.h

https://github.com/doughodson/OpenEaaglesExamples · C Header · 245 lines · 177 code · 42 blank · 26 comment · 3 complexity · 587a2b1e2bd60ed6b9baaf2fb7300d89 MD5 · raw file

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: xrecorder/protobuf/DataRecord.proto
  3. #ifndef PROTOBUF_xrecorder_2fprotobuf_2fDataRecord_2eproto__INCLUDED
  4. #define PROTOBUF_xrecorder_2fprotobuf_2fDataRecord_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 2006000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/generated_message_util.h>
  18. #include <google/protobuf/message.h>
  19. #include <google/protobuf/repeated_field.h>
  20. #include <google/protobuf/extension_set.h>
  21. #include <google/protobuf/unknown_field_set.h>
  22. #include "openeaagles/recorder/protobuf/DataRecord.pb.h"
  23. // @@protoc_insertion_point(includes)
  24. namespace oe {
  25. namespace xrecorder {
  26. namespace pb {
  27. // Internal implementation detail -- do not call these.
  28. void protobuf_AddDesc_xrecorder_2fprotobuf_2fDataRecord_2eproto();
  29. void protobuf_AssignDesc_xrecorder_2fprotobuf_2fDataRecord_2eproto();
  30. void protobuf_ShutdownFile_xrecorder_2fprotobuf_2fDataRecord_2eproto();
  31. class MyDataMsg;
  32. // ===================================================================
  33. class MyDataMsg : public ::google::protobuf::Message {
  34. public:
  35. MyDataMsg();
  36. virtual ~MyDataMsg();
  37. MyDataMsg(const MyDataMsg& from);
  38. inline MyDataMsg& operator=(const MyDataMsg& from) {
  39. CopyFrom(from);
  40. return *this;
  41. }
  42. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  43. return _unknown_fields_;
  44. }
  45. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  46. return &_unknown_fields_;
  47. }
  48. static const ::google::protobuf::Descriptor* descriptor();
  49. static const MyDataMsg& default_instance();
  50. void Swap(MyDataMsg* other);
  51. // implements Message ----------------------------------------------
  52. MyDataMsg* New() const;
  53. void CopyFrom(const ::google::protobuf::Message& from);
  54. void MergeFrom(const ::google::protobuf::Message& from);
  55. void CopyFrom(const MyDataMsg& from);
  56. void MergeFrom(const MyDataMsg& from);
  57. void Clear();
  58. bool IsInitialized() const;
  59. int ByteSize() const;
  60. bool MergePartialFromCodedStream(
  61. ::google::protobuf::io::CodedInputStream* input);
  62. void SerializeWithCachedSizes(
  63. ::google::protobuf::io::CodedOutputStream* output) const;
  64. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  65. int GetCachedSize() const { return _cached_size_; }
  66. private:
  67. void SharedCtor();
  68. void SharedDtor();
  69. void SetCachedSize(int size) const;
  70. public:
  71. ::google::protobuf::Metadata GetMetadata() const;
  72. // nested types ----------------------------------------------------
  73. // accessors -------------------------------------------------------
  74. // required uint32 fee = 1;
  75. inline bool has_fee() const;
  76. inline void clear_fee();
  77. static const int kFeeFieldNumber = 1;
  78. inline ::google::protobuf::uint32 fee() const;
  79. inline void set_fee(::google::protobuf::uint32 value);
  80. // required uint32 fi = 2;
  81. inline bool has_fi() const;
  82. inline void clear_fi();
  83. static const int kFiFieldNumber = 2;
  84. inline ::google::protobuf::uint32 fi() const;
  85. inline void set_fi(::google::protobuf::uint32 value);
  86. // required uint32 fo = 3;
  87. inline bool has_fo() const;
  88. inline void clear_fo();
  89. static const int kFoFieldNumber = 3;
  90. inline ::google::protobuf::uint32 fo() const;
  91. inline void set_fo(::google::protobuf::uint32 value);
  92. // @@protoc_insertion_point(class_scope:oe.xrecorder.pb.MyDataMsg)
  93. private:
  94. inline void set_has_fee();
  95. inline void clear_has_fee();
  96. inline void set_has_fi();
  97. inline void clear_has_fi();
  98. inline void set_has_fo();
  99. inline void clear_has_fo();
  100. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  101. ::google::protobuf::uint32 _has_bits_[1];
  102. mutable int _cached_size_;
  103. ::google::protobuf::uint32 fee_;
  104. ::google::protobuf::uint32 fi_;
  105. ::google::protobuf::uint32 fo_;
  106. friend void protobuf_AddDesc_xrecorder_2fprotobuf_2fDataRecord_2eproto();
  107. friend void protobuf_AssignDesc_xrecorder_2fprotobuf_2fDataRecord_2eproto();
  108. friend void protobuf_ShutdownFile_xrecorder_2fprotobuf_2fDataRecord_2eproto();
  109. void InitAsDefaultInstance();
  110. static MyDataMsg* default_instance_;
  111. };
  112. // ===================================================================
  113. static const int kMyDataMsgFieldNumber = 1000;
  114. extern ::google::protobuf::internal::ExtensionIdentifier< ::oe::recorder::pb::DataRecord,
  115. ::google::protobuf::internal::MessageTypeTraits< ::oe::xrecorder::pb::MyDataMsg >, 11, false >
  116. my_data_msg;
  117. static const int kFooFieldNumber = 100;
  118. extern ::google::protobuf::internal::ExtensionIdentifier< ::oe::recorder::pb::MarkerMsg,
  119. ::google::protobuf::internal::PrimitiveTypeTraits< ::google::protobuf::uint32 >, 13, false >
  120. foo;
  121. // ===================================================================
  122. // MyDataMsg
  123. // required uint32 fee = 1;
  124. inline bool MyDataMsg::has_fee() const {
  125. return (_has_bits_[0] & 0x00000001u) != 0;
  126. }
  127. inline void MyDataMsg::set_has_fee() {
  128. _has_bits_[0] |= 0x00000001u;
  129. }
  130. inline void MyDataMsg::clear_has_fee() {
  131. _has_bits_[0] &= ~0x00000001u;
  132. }
  133. inline void MyDataMsg::clear_fee() {
  134. fee_ = 0u;
  135. clear_has_fee();
  136. }
  137. inline ::google::protobuf::uint32 MyDataMsg::fee() const {
  138. // @@protoc_insertion_point(field_get:oe.xrecorder.pb.MyDataMsg.fee)
  139. return fee_;
  140. }
  141. inline void MyDataMsg::set_fee(::google::protobuf::uint32 value) {
  142. set_has_fee();
  143. fee_ = value;
  144. // @@protoc_insertion_point(field_set:oe.xrecorder.pb.MyDataMsg.fee)
  145. }
  146. // required uint32 fi = 2;
  147. inline bool MyDataMsg::has_fi() const {
  148. return (_has_bits_[0] & 0x00000002u) != 0;
  149. }
  150. inline void MyDataMsg::set_has_fi() {
  151. _has_bits_[0] |= 0x00000002u;
  152. }
  153. inline void MyDataMsg::clear_has_fi() {
  154. _has_bits_[0] &= ~0x00000002u;
  155. }
  156. inline void MyDataMsg::clear_fi() {
  157. fi_ = 0u;
  158. clear_has_fi();
  159. }
  160. inline ::google::protobuf::uint32 MyDataMsg::fi() const {
  161. // @@protoc_insertion_point(field_get:oe.xrecorder.pb.MyDataMsg.fi)
  162. return fi_;
  163. }
  164. inline void MyDataMsg::set_fi(::google::protobuf::uint32 value) {
  165. set_has_fi();
  166. fi_ = value;
  167. // @@protoc_insertion_point(field_set:oe.xrecorder.pb.MyDataMsg.fi)
  168. }
  169. // required uint32 fo = 3;
  170. inline bool MyDataMsg::has_fo() const {
  171. return (_has_bits_[0] & 0x00000004u) != 0;
  172. }
  173. inline void MyDataMsg::set_has_fo() {
  174. _has_bits_[0] |= 0x00000004u;
  175. }
  176. inline void MyDataMsg::clear_has_fo() {
  177. _has_bits_[0] &= ~0x00000004u;
  178. }
  179. inline void MyDataMsg::clear_fo() {
  180. fo_ = 0u;
  181. clear_has_fo();
  182. }
  183. inline ::google::protobuf::uint32 MyDataMsg::fo() const {
  184. // @@protoc_insertion_point(field_get:oe.xrecorder.pb.MyDataMsg.fo)
  185. return fo_;
  186. }
  187. inline void MyDataMsg::set_fo(::google::protobuf::uint32 value) {
  188. set_has_fo();
  189. fo_ = value;
  190. // @@protoc_insertion_point(field_set:oe.xrecorder.pb.MyDataMsg.fo)
  191. }
  192. // @@protoc_insertion_point(namespace_scope)
  193. } // namespace pb
  194. } // namespace xrecorder
  195. } // namespace oe
  196. #ifndef SWIG
  197. namespace google {
  198. namespace protobuf {
  199. } // namespace google
  200. } // namespace protobuf
  201. #endif // SWIG
  202. // @@protoc_insertion_point(global_scope)
  203. #endif // PROTOBUF_xrecorder_2fprotobuf_2fDataRecord_2eproto__INCLUDED