Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/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 PROTOBUF_INCLUDED_ignition_2fmsgs_2fdouble_5fv_2eproto
5 #define PROTOBUF_INCLUDED_ignition_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 #ifndef _MSC_VER
34 #pragma GCC system_header
35 #else
36 #pragma warning(push)
37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
38 #endif
39 #ifdef __linux__
40 #include <sys/sysmacros.h>
41 #endif
42 #include <memory>
43 #include <ignition/msgs/Export.hh>
44 // @@protoc_insertion_point(includes)
45 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fdouble_5fv_2eproto IGNITION_MSGS_VISIBLE
46 
48 // Internal implementation detail -- do not use these members.
49 struct IGNITION_MSGS_VISIBLE TableStruct {
50  static const ::google::protobuf::internal::ParseTableField entries[];
51  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
52  static const ::google::protobuf::internal::ParseTable schema[1];
53  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
54  static const ::google::protobuf::internal::SerializationTable serialization_table[];
55  static const ::google::protobuf::uint32 offsets[];
56 };
57 void IGNITION_MSGS_VISIBLE AddDescriptors();
58 } // namespace protobuf_ignition_2fmsgs_2fdouble_5fv_2eproto
59 namespace ignition {
60 namespace msgs {
61 class Double_V;
62 class Double_VDefaultTypeInternal;
63 IGNITION_MSGS_VISIBLE extern Double_VDefaultTypeInternal _Double_V_default_instance_;
64 } // namespace msgs
65 } // namespace ignition
66 namespace google {
67 namespace protobuf {
68 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Double_V* Arena::CreateMaybeMessage<::ignition::msgs::Double_V>(Arena*);
69 } // namespace protobuf
70 } // namespace google
71 namespace ignition {
72 namespace msgs {
73 
74 // ===================================================================
75 
76 class IGNITION_MSGS_VISIBLE Double_V : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Double_V) */ {
77  public:
78  Double_V();
79  virtual ~Double_V();
80 
81  Double_V(const Double_V& from);
82 
83  inline Double_V& operator=(const Double_V& from) {
84  CopyFrom(from);
85  return *this;
86  }
87  #if LANG_CXX11
88  Double_V(Double_V&& from) noexcept
89  : Double_V() {
90  *this = ::std::move(from);
91  }
92 
93  inline Double_V& operator=(Double_V&& from) noexcept {
94  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95  if (this != &from) InternalSwap(&from);
96  } else {
97  CopyFrom(from);
98  }
99  return *this;
100  }
101  #endif
102  static const ::google::protobuf::Descriptor* descriptor();
103  static const Double_V& default_instance();
104 
105  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
106  static inline const Double_V* internal_default_instance() {
107  return reinterpret_cast<const Double_V*>(
109  }
110  static constexpr int kIndexInFileMessages =
111  0;
112 
113  void Swap(Double_V* other);
114  friend void swap(Double_V& a, Double_V& b) {
115  a.Swap(&b);
116  }
117 
118  // implements Message ----------------------------------------------
119 
120  inline Double_V* New() const final {
121  return CreateMaybeMessage<Double_V>(NULL);
122  }
123 
124  Double_V* New(::google::protobuf::Arena* arena) const final {
125  return CreateMaybeMessage<Double_V>(arena);
126  }
127  void CopyFrom(const ::google::protobuf::Message& from) final;
128  void MergeFrom(const ::google::protobuf::Message& from) final;
129  void CopyFrom(const Double_V& from);
130  void MergeFrom(const Double_V& from);
131  void Clear() final;
132  bool IsInitialized() const final;
133 
134  size_t ByteSizeLong() const final;
135  bool MergePartialFromCodedStream(
136  ::google::protobuf::io::CodedInputStream* input) final;
137  void SerializeWithCachedSizes(
138  ::google::protobuf::io::CodedOutputStream* output) const final;
139  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
140  bool deterministic, ::google::protobuf::uint8* target) const final;
141  int GetCachedSize() const final { return _cached_size_.Get(); }
142 
143  private:
144  void SharedCtor();
145  void SharedDtor();
146  void SetCachedSize(int size) const final;
147  void InternalSwap(Double_V* other);
148  private:
149  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
150  return NULL;
151  }
152  inline void* MaybeArenaPtr() const {
153  return NULL;
154  }
155  public:
156 
157  ::google::protobuf::Metadata GetMetadata() const final;
158 
159  // nested types ----------------------------------------------------
160 
161  // accessors -------------------------------------------------------
162 
163  // repeated double data = 1;
164  int data_size() const;
165  void clear_data();
166  static const int kDataFieldNumber = 1;
167  double data(int index) const;
168  void set_data(int index, double value);
169  void add_data(double value);
170  const ::google::protobuf::RepeatedField< double >&
171  data() const;
172  ::google::protobuf::RepeatedField< double >*
173  mutable_data();
174 
175  // @@protoc_insertion_point(class_scope:ignition.msgs.Double_V)
176  private:
177 
178  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
179  ::google::protobuf::RepeatedField< double > data_;
180  mutable int _data_cached_byte_size_;
181  mutable ::google::protobuf::internal::CachedSize _cached_size_;
182  friend struct ::protobuf_ignition_2fmsgs_2fdouble_5fv_2eproto::TableStruct;
183 };
184 // ===================================================================
185 
186 
187 // ===================================================================
188 
189 #ifdef __GNUC__
190  #pragma GCC diagnostic push
191  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
192 #endif // __GNUC__
193 // Double_V
194 
195 // repeated double data = 1;
196 inline int Double_V::data_size() const {
197  return data_.size();
198 }
199 inline void Double_V::clear_data() {
200  data_.Clear();
201 }
202 inline double Double_V::data(int index) const {
203  // @@protoc_insertion_point(field_get:ignition.msgs.Double_V.data)
204  return data_.Get(index);
205 }
206 inline void Double_V::set_data(int index, double value) {
207  data_.Set(index, value);
208  // @@protoc_insertion_point(field_set:ignition.msgs.Double_V.data)
209 }
210 inline void Double_V::add_data(double value) {
211  data_.Add(value);
212  // @@protoc_insertion_point(field_add:ignition.msgs.Double_V.data)
213 }
214 inline const ::google::protobuf::RepeatedField< double >&
215 Double_V::data() const {
216  // @@protoc_insertion_point(field_list:ignition.msgs.Double_V.data)
217  return data_;
218 }
219 inline ::google::protobuf::RepeatedField< double >*
221  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Double_V.data)
222  return &data_;
223 }
224 
225 #ifdef __GNUC__
226  #pragma GCC diagnostic pop
227 #endif // __GNUC__
228 
233 // @@protoc_insertion_point(namespace_scope)
234 
235 } // namespace msgs
236 } // namespace ignition
237 
238 #ifdef _MSC_VER
239 #pragma warning(pop)
240 #endif
241 // @@protoc_insertion_point(global_scope)
242 
243 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fdouble_5fv_2eproto
Double_V * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:124
static const Double_V * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:106
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:76
void set_data(int index, double value)
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:206
STL class.
Double_V & operator=(const Double_V &from)
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:83
const ::google::protobuf::RepeatedField< double > & data() const
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:215
::google::protobuf::RepeatedField< double > * mutable_data()
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:220
void clear_data()
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:199
void Swap(Double_V *other)
void add_data(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:210
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:49
void IGNITION_MSGS_VISIBLE AddDescriptors()
std::unique_ptr< const Double_V > ConstDouble_VUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:230
std::unique_ptr< Double_V > Double_VUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:229
IGNITION_MSGS_VISIBLE Double_VDefaultTypeInternal _Double_V_default_instance_
int data_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:196
STL class.
std::shared_ptr< Double_V > Double_VSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:231
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
friend void swap(Double_V &a, Double_V &b)
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:114
Double_V * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:120
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:47
std::shared_ptr< const Double_V > ConstDouble_VSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/double_v.pb.h:232