Gazebo Msgs

API Reference

9.5.1
double_v.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/double_v.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fdouble_5fv_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fdouble_5fv_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < 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_gz_2fmsgs_2fdouble_5fv_2eproto GZ_MSGS_VISIBLE
35 
37 // Internal implementation detail -- do not use these members.
38 struct GZ_MSGS_VISIBLE 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 GZ_MSGS_VISIBLE AddDescriptors();
47 } // namespace protobuf_gz_2fmsgs_2fdouble_5fv_2eproto
48 namespace gz {
49 namespace msgs {
50 class Double_V;
51 class Double_VDefaultTypeInternal;
52 GZ_MSGS_VISIBLE extern Double_VDefaultTypeInternal _Double_V_default_instance_;
53 } // namespace msgs
54 } // namespace gz
55 namespace google {
56 namespace protobuf {
57 template<> GZ_MSGS_VISIBLE ::gz::msgs::Double_V* Arena::CreateMaybeMessage<::gz::msgs::Double_V>(Arena*);
58 } // namespace protobuf
59 } // namespace google
60 namespace gz {
61 namespace msgs {
62 
63 // ===================================================================
64 
65 class GZ_MSGS_VISIBLE Double_V : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Double_V) */ {
66  public:
67  Double_V();
68  virtual ~Double_V();
69 
70  Double_V(const Double_V& from);
71 
72  inline Double_V& operator=(const Double_V& from) {
73  CopyFrom(from);
74  return *this;
75  }
76  #if LANG_CXX11
77  Double_V(Double_V&& from) noexcept
78  : Double_V() {
79  *this = ::std::move(from);
80  }
81 
82  inline Double_V& operator=(Double_V&& from) noexcept {
83  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
84  if (this != &from) InternalSwap(&from);
85  } else {
86  CopyFrom(from);
87  }
88  return *this;
89  }
90  #endif
91  static const ::google::protobuf::Descriptor* descriptor();
92  static const Double_V& default_instance();
93 
94  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
95  static inline const Double_V* internal_default_instance() {
96  return reinterpret_cast<const Double_V*>(
98  }
99  static constexpr int kIndexInFileMessages =
100  0;
101 
102  void Swap(Double_V* other);
103  friend void swap(Double_V& a, Double_V& b) {
104  a.Swap(&b);
105  }
106 
107  // implements Message ----------------------------------------------
108 
109  inline Double_V* New() const final {
110  return CreateMaybeMessage<Double_V>(NULL);
111  }
112 
113  Double_V* New(::google::protobuf::Arena* arena) const final {
114  return CreateMaybeMessage<Double_V>(arena);
115  }
116  void CopyFrom(const ::google::protobuf::Message& from) final;
117  void MergeFrom(const ::google::protobuf::Message& from) final;
118  void CopyFrom(const Double_V& from);
119  void MergeFrom(const Double_V& from);
120  void Clear() final;
121  bool IsInitialized() const final;
122 
123  size_t ByteSizeLong() const final;
124  bool MergePartialFromCodedStream(
125  ::google::protobuf::io::CodedInputStream* input) final;
126  void SerializeWithCachedSizes(
127  ::google::protobuf::io::CodedOutputStream* output) const final;
128  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
129  bool deterministic, ::google::protobuf::uint8* target) const final;
130  int GetCachedSize() const final { return _cached_size_.Get(); }
131 
132  private:
133  void SharedCtor();
134  void SharedDtor();
135  void SetCachedSize(int size) const final;
136  void InternalSwap(Double_V* other);
137  private:
138  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
139  return NULL;
140  }
141  inline void* MaybeArenaPtr() const {
142  return NULL;
143  }
144  public:
145 
146  ::google::protobuf::Metadata GetMetadata() const final;
147 
148  // nested types ----------------------------------------------------
149 
150  // accessors -------------------------------------------------------
151 
152  // repeated double data = 1;
153  int data_size() const;
154  void clear_data();
155  static const int kDataFieldNumber = 1;
156  double data(int index) const;
157  void set_data(int index, double value);
158  void add_data(double value);
159  const ::google::protobuf::RepeatedField< double >&
160  data() const;
161  ::google::protobuf::RepeatedField< double >*
162  mutable_data();
163 
164  // @@protoc_insertion_point(class_scope:gz.msgs.Double_V)
165  private:
166 
167  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
168  ::google::protobuf::RepeatedField< double > data_;
169  mutable int _data_cached_byte_size_;
170  mutable ::google::protobuf::internal::CachedSize _cached_size_;
171  friend struct ::protobuf_gz_2fmsgs_2fdouble_5fv_2eproto::TableStruct;
172 };
173 // ===================================================================
174 
175 
176 // ===================================================================
177 
178 #ifdef __GNUC__
179  #pragma GCC diagnostic push
180  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
181 #endif // __GNUC__
182 // Double_V
183 
184 // repeated double data = 1;
185 inline int Double_V::data_size() const {
186  return data_.size();
187 }
188 inline void Double_V::clear_data() {
189  data_.Clear();
190 }
191 inline double Double_V::data(int index) const {
192  // @@protoc_insertion_point(field_get:gz.msgs.Double_V.data)
193  return data_.Get(index);
194 }
195 inline void Double_V::set_data(int index, double value) {
196  data_.Set(index, value);
197  // @@protoc_insertion_point(field_set:gz.msgs.Double_V.data)
198 }
199 inline void Double_V::add_data(double value) {
200  data_.Add(value);
201  // @@protoc_insertion_point(field_add:gz.msgs.Double_V.data)
202 }
203 inline const ::google::protobuf::RepeatedField< double >&
204 Double_V::data() const {
205  // @@protoc_insertion_point(field_list:gz.msgs.Double_V.data)
206  return data_;
207 }
208 inline ::google::protobuf::RepeatedField< double >*
210  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Double_V.data)
211  return &data_;
212 }
213 
214 #ifdef __GNUC__
215  #pragma GCC diagnostic pop
216 #endif // __GNUC__
217 
218 // @@protoc_insertion_point(namespace_scope)
219 
220 } // namespace msgs
221 } // namespace gz
222 
223 // @@protoc_insertion_point(global_scope)
224 
225 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fdouble_5fv_2eproto