Ignition Msgs

API Reference

5.8.1
double_v.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/double_v.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdouble_5fv_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdouble_5fv_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 #ifndef _MSC_VER
35 #pragma GCC system_header
36 #else
37 #pragma warning(push)
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
39 #endif
40 #ifdef __linux__
41 #include <sys/sysmacros.h>
42 #endif
43 #include <memory>
44 #include <ignition/msgs/Export.hh>
45 // @@protoc_insertion_point(includes)
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fdouble_5fv_2eproto IGNITION_MSGS_VISIBLE
48 PROTOBUF_NAMESPACE_OPEN
49 namespace internal {
50 class AnyMetadata;
51 } // namespace internal
52 PROTOBUF_NAMESPACE_CLOSE
53 
54 // Internal implementation detail -- do not use these members.
56  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
63  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
64  static const uint32_t offsets[];
65 };
66 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fdouble_5fv_2eproto;
67 namespace ignition {
68 namespace msgs {
69 class Double_V;
70 struct Double_VDefaultTypeInternal;
71 IGNITION_MSGS_VISIBLE extern Double_VDefaultTypeInternal _Double_V_default_instance_;
72 } // namespace msgs
73 } // namespace ignition
74 PROTOBUF_NAMESPACE_OPEN
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Double_V* Arena::CreateMaybeMessage<::ignition::msgs::Double_V>(Arena*);
76 PROTOBUF_NAMESPACE_CLOSE
77 namespace ignition {
78 namespace msgs {
79 
80 // ===================================================================
81 
82 class IGNITION_MSGS_VISIBLE Double_V final :
83  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Double_V) */ {
84  public:
85  inline Double_V() : Double_V(nullptr) {}
86  ~Double_V() override;
87  explicit constexpr Double_V(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
88 
89  Double_V(const Double_V& from);
90  Double_V(Double_V&& from) noexcept
91  : Double_V() {
92  *this = ::std::move(from);
93  }
94 
95  inline Double_V& operator=(const Double_V& from) {
96  CopyFrom(from);
97  return *this;
98  }
99  inline Double_V& operator=(Double_V&& from) noexcept {
100  if (this == &from) return *this;
101  if (GetOwningArena() == from.GetOwningArena()
102  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
103  && GetOwningArena() != nullptr
104  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
105  ) {
106  InternalSwap(&from);
107  } else {
108  CopyFrom(from);
109  }
110  return *this;
111  }
112 
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114  return GetDescriptor();
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117  return default_instance().GetMetadata().descriptor;
118  }
119  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120  return default_instance().GetMetadata().reflection;
121  }
122  static const Double_V& default_instance() {
123  return *internal_default_instance();
124  }
125  static inline const Double_V* internal_default_instance() {
126  return reinterpret_cast<const Double_V*>(
128  }
129  static constexpr int kIndexInFileMessages =
130  0;
131 
132  friend void swap(Double_V& a, Double_V& b) {
133  a.Swap(&b);
134  }
135  inline void Swap(Double_V* other) {
136  if (other == this) return;
137  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
138  if (GetOwningArena() != nullptr &&
139  GetOwningArena() == other->GetOwningArena()) {
140  #else // PROTOBUF_FORCE_COPY_IN_SWAP
141  if (GetOwningArena() == other->GetOwningArena()) {
142  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
143  InternalSwap(other);
144  } else {
145  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
146  }
147  }
148  void UnsafeArenaSwap(Double_V* other) {
149  if (other == this) return;
150  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
151  InternalSwap(other);
152  }
153 
154  // implements Message ----------------------------------------------
155 
156  Double_V* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
157  return CreateMaybeMessage<Double_V>(arena);
158  }
159  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160  void CopyFrom(const Double_V& from);
161  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162  void MergeFrom(const Double_V& from);
163  private:
164  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
165  public:
166  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
167  bool IsInitialized() const final;
168 
169  size_t ByteSizeLong() const final;
170  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
171  uint8_t* _InternalSerialize(
172  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173  int GetCachedSize() const final { return _cached_size_.Get(); }
174 
175  private:
176  void SharedCtor();
177  void SharedDtor();
178  void SetCachedSize(int size) const final;
179  void InternalSwap(Double_V* other);
180 
181  private:
182  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184  return "ignition.msgs.Double_V";
185  }
186  protected:
187  explicit Double_V(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188  bool is_message_owned = false);
189  private:
190  static void ArenaDtor(void* object);
191  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192  public:
193 
194  static const ClassData _class_data_;
195  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
196 
197  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198 
199  // nested types ----------------------------------------------------
200 
201  // accessors -------------------------------------------------------
202 
203  enum : int {
204  kDataFieldNumber = 1,
205  };
206  // repeated double data = 1;
207  int data_size() const;
208  private:
209  int _internal_data_size() const;
210  public:
211  void clear_data();
212  private:
213  double _internal_data(int index) const;
214  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
215  _internal_data() const;
216  void _internal_add_data(double value);
217  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
218  _internal_mutable_data();
219  public:
220  double data(int index) const;
221  void set_data(int index, double value);
222  void add_data(double value);
223  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
224  data() const;
225  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
226  mutable_data();
227 
228  // @@protoc_insertion_point(class_scope:ignition.msgs.Double_V)
229  private:
230  class _Internal;
231 
232  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
233  typedef void InternalArenaConstructable_;
234  typedef void DestructorSkippable_;
235  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > data_;
236  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
237  friend struct ::TableStruct_ignition_2fmsgs_2fdouble_5fv_2eproto;
238 };
239 // ===================================================================
240 
241 
242 // ===================================================================
243 
244 #ifdef __GNUC__
245  #pragma GCC diagnostic push
246  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
247 #endif // __GNUC__
248 // Double_V
249 
250 // repeated double data = 1;
251 inline int Double_V::_internal_data_size() const {
252  return data_.size();
253 }
254 inline int Double_V::data_size() const {
255  return _internal_data_size();
256 }
257 inline void Double_V::clear_data() {
258  data_.Clear();
259 }
260 inline double Double_V::_internal_data(int index) const {
261  return data_.Get(index);
262 }
263 inline double Double_V::data(int index) const {
264  // @@protoc_insertion_point(field_get:ignition.msgs.Double_V.data)
265  return _internal_data(index);
266 }
267 inline void Double_V::set_data(int index, double value) {
268  data_.Set(index, value);
269  // @@protoc_insertion_point(field_set:ignition.msgs.Double_V.data)
270 }
271 inline void Double_V::_internal_add_data(double value) {
272  data_.Add(value);
273 }
274 inline void Double_V::add_data(double value) {
275  _internal_add_data(value);
276  // @@protoc_insertion_point(field_add:ignition.msgs.Double_V.data)
277 }
278 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
279 Double_V::_internal_data() const {
280  return data_;
281 }
282 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
283 Double_V::data() const {
284  // @@protoc_insertion_point(field_list:ignition.msgs.Double_V.data)
285  return _internal_data();
286 }
287 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
288 Double_V::_internal_mutable_data() {
289  return &data_;
290 }
291 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
293  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Double_V.data)
294  return _internal_mutable_data();
295 }
296 
297 #ifdef __GNUC__
298  #pragma GCC diagnostic pop
299 #endif // __GNUC__
300 
305 // @@protoc_insertion_point(namespace_scope)
306 
307 } // namespace msgs
308 } // namespace ignition
309 
310 #ifdef _MSC_VER
311 #pragma warning(pop)
312 #endif
313 // @@protoc_insertion_point(global_scope)
314 
315 #include <google/protobuf/port_undef.inc>
316 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdouble_5fv_2eproto
Definition: double_v.pb.h:83
void clear_data()
Definition: double_v.pb.h:257
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & data() const
Definition: double_v.pb.h:283
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: double_v.pb.h:119
Double_V(Double_V &&from) noexcept
Definition: double_v.pb.h:90
void add_data(double value)
Definition: double_v.pb.h:274
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Double_V(const Double_V &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: double_v.pb.h:113
constexpr Double_V(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Double_V & operator=(Double_V &&from) noexcept
Definition: double_v.pb.h:99
void CopyFrom(const Double_V &from)
void UnsafeArenaSwap(Double_V *other)
Definition: double_v.pb.h:148
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_data()
Definition: double_v.pb.h:292
static const Double_V * internal_default_instance()
Definition: double_v.pb.h:125
void Swap(Double_V *other)
Definition: double_v.pb.h:135
int data_size() const
Definition: double_v.pb.h:254
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Double_V & default_instance()
Definition: double_v.pb.h:122
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: double_v.pb.h:116
friend void swap(Double_V &a, Double_V &b)
Definition: double_v.pb.h:132
void MergeFrom(const Double_V &from)
static const ClassData _class_data_
Definition: double_v.pb.h:194
Double_V(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_data(int index, double value)
Definition: double_v.pb.h:267
Double_V()
Definition: double_v.pb.h:85
Double_V & operator=(const Double_V &from)
Definition: double_v.pb.h:95
Double_V * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: double_v.pb.h:156
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fdouble_5fv_2eproto
std::shared_ptr< Double_V > Double_VSharedPtr
Definition: double_v.pb.h:303
std::shared_ptr< const Double_V > ConstDouble_VSharedPtr
Definition: double_v.pb.h:304
std::unique_ptr< const Double_V > ConstDouble_VUniquePtr
Definition: double_v.pb.h:302
std::unique_ptr< Double_V > Double_VUniquePtr
Definition: double_v.pb.h:301
IGNITION_MSGS_VISIBLE Double_VDefaultTypeInternal _Double_V_default_instance_
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)