ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
topics.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: topics.proto
3 
4 #ifndef PROTOBUF_topics_2eproto__INCLUDED
5 #define PROTOBUF_topics_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3002000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3002000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_util.h>
26 #include <google/protobuf/metadata.h>
27 #include <google/protobuf/message.h>
28 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
29 #include <google/protobuf/extension_set.h> // IWYU pragma: export
30 #include <google/protobuf/unknown_field_set.h>
31 // @@protoc_insertion_point(includes)
32 namespace exif {
33 class XYMeas;
34 class XYMeasDefaultTypeInternal;
35 extern XYMeasDefaultTypeInternal _XYMeas_default_instance_;
36 } // namespace exif
37 
38 namespace exif {
39 
40 namespace protobuf_topics_2eproto {
41 // Internal implementation detail -- do not call these.
42 struct TableStruct {
43  static const ::google::protobuf::uint32 offsets[];
44  static void InitDefaultsImpl();
45  static void Shutdown();
46 };
47 void AddDescriptors();
48 void InitDefaults();
49 } // namespace protobuf_topics_2eproto
50 
51 // ===================================================================
52 
53 class XYMeas : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:exif.XYMeas) */ {
54  public:
55  XYMeas();
56  virtual ~XYMeas();
57 
58  XYMeas(const XYMeas& from);
59 
60  inline XYMeas& operator=(const XYMeas& from) {
61  CopyFrom(from);
62  return *this;
63  }
64 
65  static const ::google::protobuf::Descriptor* descriptor();
66  static const XYMeas& default_instance();
67 
68  static inline const XYMeas* internal_default_instance() {
69  return reinterpret_cast<const XYMeas*>(
71  }
72 
73  void Swap(XYMeas* other);
74 
75  // implements Message ----------------------------------------------
76 
77  inline XYMeas* New() const PROTOBUF_FINAL { return New(NULL); }
78 
79  XYMeas* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
80  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
81  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
82  void CopyFrom(const XYMeas& from);
83  void MergeFrom(const XYMeas& from);
84  void Clear() PROTOBUF_FINAL;
85  bool IsInitialized() const PROTOBUF_FINAL;
86 
87  size_t ByteSizeLong() const PROTOBUF_FINAL;
89  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
91  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
92  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
93  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
94  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
95  const PROTOBUF_FINAL {
97  ::google::protobuf::io::CodedOutputStream::IsDefaultSerializationDeterministic(), output);
98  }
99  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
100  private:
101  void SharedCtor();
102  void SharedDtor();
103  void SetCachedSize(int size) const PROTOBUF_FINAL;
104  void InternalSwap(XYMeas* other);
105  private:
106  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
107  return NULL;
108  }
109  inline void* MaybeArenaPtr() const {
110  return NULL;
111  }
112  public:
113 
114  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
115 
116  // nested types ----------------------------------------------------
117 
118  // accessors -------------------------------------------------------
119 
120  // float x = 1;
121  void clear_x();
122  static const int kXFieldNumber = 1;
123  float x() const;
124  void set_x(float value);
125 
126  // float y = 2;
127  void clear_y();
128  static const int kYFieldNumber = 2;
129  float y() const;
130  void set_y(float value);
131 
132  // @@protoc_insertion_point(class_scope:exif.XYMeas)
133  private:
134 
135  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
136  float x_;
137  float y_;
138  mutable int _cached_size_;
139  friend struct protobuf_topics_2eproto::TableStruct;
140 };
141 // ===================================================================
142 
143 
144 // ===================================================================
145 
146 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
147 // XYMeas
148 
149 // float x = 1;
150 inline void XYMeas::clear_x() {
151  x_ = 0;
152 }
153 inline float XYMeas::x() const {
154  // @@protoc_insertion_point(field_get:exif.XYMeas.x)
155  return x_;
156 }
157 inline void XYMeas::set_x(float value) {
158 
159  x_ = value;
160  // @@protoc_insertion_point(field_set:exif.XYMeas.x)
161 }
162 
163 // float y = 2;
164 inline void XYMeas::clear_y() {
165  y_ = 0;
166 }
167 inline float XYMeas::y() const {
168  // @@protoc_insertion_point(field_get:exif.XYMeas.y)
169  return y_;
170 }
171 inline void XYMeas::set_y(float value) {
172 
173  y_ = value;
174  // @@protoc_insertion_point(field_set:exif.XYMeas.y)
175 }
176 
177 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
178 
179 // @@protoc_insertion_point(namespace_scope)
180 
181 
182 } // namespace exif
183 
184 // @@protoc_insertion_point(global_scope)
185 
186 #endif // PROTOBUF_topics_2eproto__INCLUDED
void AddDescriptors()
Definition: Types.pb.cpp:130
double value
Definition: easylogging++.h:814
static const int kYFieldNumber
Definition: topics.pb.h:128
void set_x(float value)
Definition: topics.pb.h:157
void Swap(XYMeas *other)
float x() const
Definition: topics.pb.h:153
void set_y(float value)
Definition: topics.pb.h:171
static const XYMeas * internal_default_instance()
Definition: topics.pb.h:68
XYMeas * New() const PROTOBUF_FINAL
Definition: topics.pb.h:77
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
virtual ~XYMeas()
void clear_x()
Definition: topics.pb.h:150
XYMeas & operator=(const XYMeas &from)
Definition: topics.pb.h:60
XYMeasDefaultTypeInternal _XYMeas_default_instance_
int GetCachedSize() const PROTOBUF_FINAL
Definition: topics.pb.h:99
void InitDefaults()
Definition: Types.pb.cpp:111
Definition: topics.pb.h:53
size_t ByteSizeLong() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
float y() const
Definition: topics.pb.h:167
message XYMeas
Definition: topics.proto:5
package exif
Definition: requests.proto:3
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
void clear_y()
Definition: topics.pb.h:164
static const XYMeas & default_instance()
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
static const int kXFieldNumber
Definition: topics.pb.h:122
void Clear() PROTOBUF_FINAL
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const PROTOBUF_FINAL
Definition: topics.pb.h:94
static const ::google::protobuf::Descriptor * descriptor()
bool IsInitialized() const PROTOBUF_FINAL
std::string const
Definition: Test{{cookiecutter.device_name}}.cpp:209
static const ::google::protobuf::uint32 offsets[]
Definition: topics.pb.h:43