Ignition Msgs

API Reference

8.0.0~pre1
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_ignition_2fmsgs_2fdouble_5fv_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fdouble_5fv_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
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 3000000 < 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/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/unknown_field_set.h>
30 #ifndef _MSC_VER
31 #pragma GCC system_header
32 #else
33 #pragma warning(push)
34 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
35 #endif
36 #ifdef __linux__
37 #include <sys/sysmacros.h>
38 #endif
39 #include <memory>
40 #include <ignition/msgs/Export.hh>
41 // @@protoc_insertion_point(includes)
42 
43 namespace ignition {
44 namespace msgs {
45 
46 // Internal implementation detail -- do not call these.
50 
51 class Double_V;
52 
53 // ===================================================================
54 
55 class IGNITION_MSGS_VISIBLE Double_V : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Double_V) */ {
56  public:
57  Double_V();
58  virtual ~Double_V();
59 
60  Double_V(const Double_V& from);
61 
62  inline Double_V& operator=(const Double_V& from) {
63  CopyFrom(from);
64  return *this;
65  }
66 
67  static const ::google::protobuf::Descriptor* descriptor();
68  static const Double_V& default_instance();
69 
70  void Swap(Double_V* other);
71 
72  // implements Message ----------------------------------------------
73 
74  inline Double_V* New() const { return New(NULL); }
75 
76  Double_V* New(::google::protobuf::Arena* arena) const;
77  void CopyFrom(const ::google::protobuf::Message& from);
78  void MergeFrom(const ::google::protobuf::Message& from);
79  void CopyFrom(const Double_V& from);
80  void MergeFrom(const Double_V& from);
81  void Clear();
82  bool IsInitialized() const;
83 
84  int ByteSize() const;
85  bool MergePartialFromCodedStream(
86  ::google::protobuf::io::CodedInputStream* input);
87  void SerializeWithCachedSizes(
88  ::google::protobuf::io::CodedOutputStream* output) const;
89  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
90  bool deterministic, ::google::protobuf::uint8* output) const;
91  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
92  return InternalSerializeWithCachedSizesToArray(false, output);
93  }
94  int GetCachedSize() const { return _cached_size_; }
95  private:
96  void SharedCtor();
97  void SharedDtor();
98  void SetCachedSize(int size) const;
99  void InternalSwap(Double_V* other);
100  private:
101  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
102  return _internal_metadata_.arena();
103  }
104  inline void* MaybeArenaPtr() const {
105  return _internal_metadata_.raw_arena_ptr();
106  }
107  public:
108 
109  ::google::protobuf::Metadata GetMetadata() const;
110 
111  // nested types ----------------------------------------------------
112 
113  // accessors -------------------------------------------------------
114 
115  // repeated double data = 1;
116  int data_size() const;
117  void clear_data();
118  static const int kDataFieldNumber = 1;
119  double data(int index) const;
120  void set_data(int index, double value);
121  void add_data(double value);
122  const ::google::protobuf::RepeatedField< double >&
123  data() const;
124  ::google::protobuf::RepeatedField< double >*
125  mutable_data();
126 
127  // @@protoc_insertion_point(class_scope:ignition.msgs.Double_V)
128  private:
129 
130  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
131  bool _is_default_instance_;
132  ::google::protobuf::RepeatedField< double > data_;
133  mutable int _data_cached_byte_size_;
134  mutable int _cached_size_;
135  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdouble_5fv_2eproto();
138 
139  void InitAsDefaultInstance();
140  static Double_V* default_instance_;
141 };
142 // ===================================================================
143 
144 
145 // ===================================================================
146 
147 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
148 // Double_V
149 
150 // repeated double data = 1;
151 inline int Double_V::data_size() const {
152  return data_.size();
153 }
154 inline void Double_V::clear_data() {
155  data_.Clear();
156 }
157 inline double Double_V::data(int index) const {
158  // @@protoc_insertion_point(field_get:ignition.msgs.Double_V.data)
159  return data_.Get(index);
160 }
161 inline void Double_V::set_data(int index, double value) {
162  data_.Set(index, value);
163  // @@protoc_insertion_point(field_set:ignition.msgs.Double_V.data)
164 }
165 inline void Double_V::add_data(double value) {
166  data_.Add(value);
167  // @@protoc_insertion_point(field_add:ignition.msgs.Double_V.data)
168 }
169 inline const ::google::protobuf::RepeatedField< double >&
170 Double_V::data() const {
171  // @@protoc_insertion_point(field_list:ignition.msgs.Double_V.data)
172  return data_;
173 }
174 inline ::google::protobuf::RepeatedField< double >*
176  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Double_V.data)
177  return &data_;
178 }
179 
180 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
181 
186 // @@protoc_insertion_point(namespace_scope)
187 
188 } // namespace msgs
189 } // namespace ignition
190 
191 #ifdef _MSC_VER
192 #pragma warning(pop)
193 #endif
194 // @@protoc_insertion_point(global_scope)
195 
196 #endif // PROTOBUF_ignition_2fmsgs_2fdouble_5fv_2eproto__INCLUDED
std::shared_ptr< Double_V > Double_VSharedPtr
Definition: double_v.pb.h:184
::google::protobuf::RepeatedField< double > * mutable_data()
Definition: double_v.pb.h:175
void set_data(int index, double value)
Definition: double_v.pb.h:161
std::unique_ptr< const Double_V > ConstDouble_VUniquePtr
Definition: double_v.pb.h:183
void clear_data()
Definition: double_v.pb.h:154
std::unique_ptr< Double_V > Double_VUniquePtr
Definition: double_v.pb.h:182
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: double_v.pb.h:91
std::shared_ptr< const Double_V > ConstDouble_VSharedPtr
Definition: double_v.pb.h:185
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdouble_5fv_2eproto()
Double_V * New() const
Definition: double_v.pb.h:74
void add_data(double value)
Definition: double_v.pb.h:165
STL class.
void protobuf_AssignDesc_ignition_2fmsgs_2fdouble_5fv_2eproto()
int data_size() const
Definition: double_v.pb.h:151
void protobuf_ShutdownFile_ignition_2fmsgs_2fdouble_5fv_2eproto()
int GetCachedSize() const
Definition: double_v.pb.h:94
Double_V & operator=(const Double_V &from)
Definition: double_v.pb.h:62
Definition: double_v.pb.h:55
const ::google::protobuf::RepeatedField< double > & data() const
Definition: double_v.pb.h:170