rad  2.0.0
 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_INCLUDED_topics_2eproto
5 #define PROTOBUF_INCLUDED_topics_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006000
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 3006000 < 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_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 // @@protoc_insertion_point(includes)
34 #define PROTOBUF_INTERNAL_EXPORT_protobuf_topics_2eproto
35 
36 namespace protobuf_topics_2eproto {
37 // Internal implementation detail -- do not use these members.
38 struct TableStruct {
39  static const ::google::protobuf::internal::ParseTableField entries[];
40  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
41  static const ::google::protobuf::internal::ParseTable schema[1];
42  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
43  static const ::google::protobuf::internal::SerializationTable serialization_table[];
44  static const ::google::protobuf::uint32 offsets[];
45 };
46 void AddDescriptors();
47 } // namespace protobuf_topics_2eproto
48 namespace exif {
49 class XYMeas;
50 class XYMeasDefaultTypeInternal;
51 extern XYMeasDefaultTypeInternal _XYMeas_default_instance_;
52 } // namespace exif
53 namespace google {
54 namespace protobuf {
55 template<> ::exif::XYMeas* Arena::CreateMaybeMessage<::exif::XYMeas>(Arena*);
56 } // namespace protobuf
57 } // namespace google
58 namespace exif {
59 
60 // ===================================================================
61 
62 class XYMeas : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:exif.XYMeas) */ {
63  public:
64  XYMeas();
65  virtual ~XYMeas();
66 
67  XYMeas(const XYMeas& from);
68 
69  inline XYMeas& operator=(const XYMeas& from) {
70  CopyFrom(from);
71  return *this;
72  }
73  #if LANG_CXX11
74  XYMeas(XYMeas&& from) noexcept
75  : XYMeas() {
76  *this = ::std::move(from);
77  }
78 
79  inline XYMeas& operator=(XYMeas&& from) noexcept {
80  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
81  if (this != &from) InternalSwap(&from);
82  } else {
83  CopyFrom(from);
84  }
85  return *this;
86  }
87  #endif
88  static const ::google::protobuf::Descriptor* descriptor();
89  static const XYMeas& default_instance();
90 
91  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
92  static inline const XYMeas* internal_default_instance() {
93  return reinterpret_cast<const XYMeas*>(
95  }
96  static constexpr int kIndexInFileMessages =
97  0;
98 
99  void Swap(XYMeas* other);
100  friend void swap(XYMeas& a, XYMeas& b) {
101  a.Swap(&b);
102  }
103 
104  // implements Message ----------------------------------------------
105 
106  inline XYMeas* New() const final {
107  return CreateMaybeMessage<XYMeas>(NULL);
108  }
109 
110  XYMeas* New(::google::protobuf::Arena* arena) const final {
111  return CreateMaybeMessage<XYMeas>(arena);
112  }
113  void CopyFrom(const ::google::protobuf::Message& from) final;
114  void MergeFrom(const ::google::protobuf::Message& from) final;
115  void CopyFrom(const XYMeas& from);
116  void MergeFrom(const XYMeas& from);
117  void Clear() final;
118  bool IsInitialized() const final;
119 
120  size_t ByteSizeLong() const final;
122  ::google::protobuf::io::CodedInputStream* input) final;
124  ::google::protobuf::io::CodedOutputStream* output) const final;
125  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
126  bool deterministic, ::google::protobuf::uint8* target) const final;
127  int GetCachedSize() const final { return _cached_size_.Get(); }
128 
129  private:
130  void SharedCtor();
131  void SharedDtor();
132  void SetCachedSize(int size) const final;
133  void InternalSwap(XYMeas* other);
134  private:
135  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
136  return NULL;
137  }
138  inline void* MaybeArenaPtr() const {
139  return NULL;
140  }
141  public:
142 
143  ::google::protobuf::Metadata GetMetadata() const final;
144 
145  // nested types ----------------------------------------------------
146 
147  // accessors -------------------------------------------------------
148 
149  // float x = 1;
150  void clear_x();
151  static const int kXFieldNumber = 1;
152  float x() const;
153  void set_x(float value);
154 
155  // float y = 2;
156  void clear_y();
157  static const int kYFieldNumber = 2;
158  float y() const;
159  void set_y(float value);
160 
161  // @@protoc_insertion_point(class_scope:exif.XYMeas)
162  private:
163 
164  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
165  float x_;
166  float y_;
167  mutable ::google::protobuf::internal::CachedSize _cached_size_;
168  friend struct ::protobuf_topics_2eproto::TableStruct;
169 };
170 // ===================================================================
171 
172 
173 // ===================================================================
174 
175 #ifdef __GNUC__
176  #pragma GCC diagnostic push
177  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
178 #endif // __GNUC__
179 // XYMeas
180 
181 // float x = 1;
182 inline void XYMeas::clear_x() {
183  x_ = 0;
184 }
185 inline float XYMeas::x() const {
186  // @@protoc_insertion_point(field_get:exif.XYMeas.x)
187  return x_;
188 }
189 inline void XYMeas::set_x(float value) {
190 
191  x_ = value;
192  // @@protoc_insertion_point(field_set:exif.XYMeas.x)
193 }
194 
195 // float y = 2;
196 inline void XYMeas::clear_y() {
197  y_ = 0;
198 }
199 inline float XYMeas::y() const {
200  // @@protoc_insertion_point(field_get:exif.XYMeas.y)
201  return y_;
202 }
203 inline void XYMeas::set_y(float value) {
204 
205  y_ = value;
206  // @@protoc_insertion_point(field_set:exif.XYMeas.y)
207 }
208 
209 #ifdef __GNUC__
210  #pragma GCC diagnostic pop
211 #endif // __GNUC__
212 
213 // @@protoc_insertion_point(namespace_scope)
214 
215 } // namespace exif
216 
217 // @@protoc_insertion_point(global_scope)
218 
219 #endif // PROTOBUF_INCLUDED_topics_2eproto
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: topics.pb.h:42
static const int kYFieldNumber
Definition: topics.pb.h:157
void set_x(float value)
Definition: topics.pb.h:189
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: topics.pb.h:40
void Swap(XYMeas *other)
float x() const
Definition: topics.pb.h:185
void set_y(float value)
Definition: topics.pb.h:203
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const final
static const XYMeas * internal_default_instance()
Definition: topics.pb.h:92
bool IsInitialized() const final
void Clear() final
XYMeas * New() const final
Definition: topics.pb.h:106
virtual ~XYMeas()
void clear_x()
Definition: topics.pb.h:182
XYMeas & operator=(const XYMeas &from)
Definition: topics.pb.h:69
message XYMeas
Definition: topics.proto:5
XYMeasDefaultTypeInternal _XYMeas_default_instance_
Definition: topics.pb.h:62
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: topics.pb.h:41
float y() const
Definition: topics.pb.h:199
::google::protobuf::Metadata GetMetadata() const final
static constexpr int kIndexInFileMessages
Definition: topics.pb.h:96
package exif
Definition: requests.proto:3
void CopyFrom(const ::google::protobuf::Message &from) final
void clear_y()
Definition: topics.pb.h:196
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: topics.pb.h:39
static const XYMeas & default_instance()
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
static const int kXFieldNumber
Definition: topics.pb.h:151
int GetCachedSize() const final
Definition: topics.pb.h:127
XYMeas * New(::google::protobuf::Arena *arena) const final
Definition: topics.pb.h:110
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: topics.pb.h:43
void MergeFrom(const ::google::protobuf::Message &from) final
static void InitAsDefaultInstance()
static const ::google::protobuf::Descriptor * descriptor()
static const ::google::protobuf::uint32 offsets[]
Definition: topics.pb.h:44
friend void swap(XYMeas &a, XYMeas &b)
Definition: topics.pb.h:100
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
Definition: topics.pb.h:38
size_t ByteSizeLong() const final