Gazebo Msgs

API Reference

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