Fork me on GitHub

source: git/external/ProMC/ProMCDescription.pb.h@ c2d6ea2

ImprovedOutputFile Timing dual_readout llp
Last change on this file since c2d6ea2 was 6b9b91f, checked in by pavel <pavel@…>, 11 years ago

add external/ProMC

  • Property mode set to 100644
File size: 9.7 KB
Line 
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ProMCDescription.proto
3
4#ifndef PROTOBUF_ProMCDescription_2eproto__INCLUDED
5#define PROTOBUF_ProMCDescription_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
11#if GOOGLE_PROTOBUF_VERSION < 2005000
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 2005000 < 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/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
27// @@protoc_insertion_point(includes)
28
29namespace promc {
30
31// Internal implementation detail -- do not call these.
32void protobuf_AddDesc_ProMCDescription_2eproto();
33void protobuf_AssignDesc_ProMCDescription_2eproto();
34void protobuf_ShutdownFile_ProMCDescription_2eproto();
35
36class ProMCDescription;
37
38// ===================================================================
39
40class ProMCDescription : public ::google::protobuf::Message {
41 public:
42 ProMCDescription();
43 virtual ~ProMCDescription();
44
45 ProMCDescription(const ProMCDescription& from);
46
47 inline ProMCDescription& operator=(const ProMCDescription& from) {
48 CopyFrom(from);
49 return *this;
50 }
51
52 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
53 return _unknown_fields_;
54 }
55
56 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
57 return &_unknown_fields_;
58 }
59
60 static const ::google::protobuf::Descriptor* descriptor();
61 static const ProMCDescription& default_instance();
62
63 void Swap(ProMCDescription* other);
64
65 // implements Message ----------------------------------------------
66
67 ProMCDescription* New() const;
68 void CopyFrom(const ::google::protobuf::Message& from);
69 void MergeFrom(const ::google::protobuf::Message& from);
70 void CopyFrom(const ProMCDescription& from);
71 void MergeFrom(const ProMCDescription& from);
72 void Clear();
73 bool IsInitialized() const;
74
75 int ByteSize() const;
76 bool MergePartialFromCodedStream(
77 ::google::protobuf::io::CodedInputStream* input);
78 void SerializeWithCachedSizes(
79 ::google::protobuf::io::CodedOutputStream* output) const;
80 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
81 int GetCachedSize() const { return _cached_size_; }
82 private:
83 void SharedCtor();
84 void SharedDtor();
85 void SetCachedSize(int size) const;
86 public:
87
88 ::google::protobuf::Metadata GetMetadata() const;
89
90 // nested types ----------------------------------------------------
91
92 // accessors -------------------------------------------------------
93
94 // required uint64 version = 1;
95 inline bool has_version() const;
96 inline void clear_version();
97 static const int kVersionFieldNumber = 1;
98 inline ::google::protobuf::uint64 version() const;
99 inline void set_version(::google::protobuf::uint64 value);
100
101 // required uint64 events = 2;
102 inline bool has_events() const;
103 inline void clear_events();
104 static const int kEventsFieldNumber = 2;
105 inline ::google::protobuf::uint64 events() const;
106 inline void set_events(::google::protobuf::uint64 value);
107
108 // required string description = 3;
109 inline bool has_description() const;
110 inline void clear_description();
111 static const int kDescriptionFieldNumber = 3;
112 inline const ::std::string& description() const;
113 inline void set_description(const ::std::string& value);
114 inline void set_description(const char* value);
115 inline void set_description(const char* value, size_t size);
116 inline ::std::string* mutable_description();
117 inline ::std::string* release_description();
118 inline void set_allocated_description(::std::string* description);
119
120 // required uint64 timestamp = 4;
121 inline bool has_timestamp() const;
122 inline void clear_timestamp();
123 static const int kTimestampFieldNumber = 4;
124 inline ::google::protobuf::uint64 timestamp() const;
125 inline void set_timestamp(::google::protobuf::uint64 value);
126
127 // @@protoc_insertion_point(class_scope:promc.ProMCDescription)
128 private:
129 inline void set_has_version();
130 inline void clear_has_version();
131 inline void set_has_events();
132 inline void clear_has_events();
133 inline void set_has_description();
134 inline void clear_has_description();
135 inline void set_has_timestamp();
136 inline void clear_has_timestamp();
137
138 ::google::protobuf::UnknownFieldSet _unknown_fields_;
139
140 ::google::protobuf::uint64 version_;
141 ::google::protobuf::uint64 events_;
142 ::std::string* description_;
143 ::google::protobuf::uint64 timestamp_;
144
145 mutable int _cached_size_;
146 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
147
148 friend void protobuf_AddDesc_ProMCDescription_2eproto();
149 friend void protobuf_AssignDesc_ProMCDescription_2eproto();
150 friend void protobuf_ShutdownFile_ProMCDescription_2eproto();
151
152 void InitAsDefaultInstance();
153 static ProMCDescription* default_instance_;
154};
155// ===================================================================
156
157
158// ===================================================================
159
160// ProMCDescription
161
162// required uint64 version = 1;
163inline bool ProMCDescription::has_version() const {
164 return (_has_bits_[0] & 0x00000001u) != 0;
165}
166inline void ProMCDescription::set_has_version() {
167 _has_bits_[0] |= 0x00000001u;
168}
169inline void ProMCDescription::clear_has_version() {
170 _has_bits_[0] &= ~0x00000001u;
171}
172inline void ProMCDescription::clear_version() {
173 version_ = GOOGLE_ULONGLONG(0);
174 clear_has_version();
175}
176inline ::google::protobuf::uint64 ProMCDescription::version() const {
177 return version_;
178}
179inline void ProMCDescription::set_version(::google::protobuf::uint64 value) {
180 set_has_version();
181 version_ = value;
182}
183
184// required uint64 events = 2;
185inline bool ProMCDescription::has_events() const {
186 return (_has_bits_[0] & 0x00000002u) != 0;
187}
188inline void ProMCDescription::set_has_events() {
189 _has_bits_[0] |= 0x00000002u;
190}
191inline void ProMCDescription::clear_has_events() {
192 _has_bits_[0] &= ~0x00000002u;
193}
194inline void ProMCDescription::clear_events() {
195 events_ = GOOGLE_ULONGLONG(0);
196 clear_has_events();
197}
198inline ::google::protobuf::uint64 ProMCDescription::events() const {
199 return events_;
200}
201inline void ProMCDescription::set_events(::google::protobuf::uint64 value) {
202 set_has_events();
203 events_ = value;
204}
205
206// required string description = 3;
207inline bool ProMCDescription::has_description() const {
208 return (_has_bits_[0] & 0x00000004u) != 0;
209}
210inline void ProMCDescription::set_has_description() {
211 _has_bits_[0] |= 0x00000004u;
212}
213inline void ProMCDescription::clear_has_description() {
214 _has_bits_[0] &= ~0x00000004u;
215}
216inline void ProMCDescription::clear_description() {
217 if (description_ != &::google::protobuf::internal::kEmptyString) {
218 description_->clear();
219 }
220 clear_has_description();
221}
222inline const ::std::string& ProMCDescription::description() const {
223 return *description_;
224}
225inline void ProMCDescription::set_description(const ::std::string& value) {
226 set_has_description();
227 if (description_ == &::google::protobuf::internal::kEmptyString) {
228 description_ = new ::std::string;
229 }
230 description_->assign(value);
231}
232inline void ProMCDescription::set_description(const char* value) {
233 set_has_description();
234 if (description_ == &::google::protobuf::internal::kEmptyString) {
235 description_ = new ::std::string;
236 }
237 description_->assign(value);
238}
239inline void ProMCDescription::set_description(const char* value, size_t size) {
240 set_has_description();
241 if (description_ == &::google::protobuf::internal::kEmptyString) {
242 description_ = new ::std::string;
243 }
244 description_->assign(reinterpret_cast<const char*>(value), size);
245}
246inline ::std::string* ProMCDescription::mutable_description() {
247 set_has_description();
248 if (description_ == &::google::protobuf::internal::kEmptyString) {
249 description_ = new ::std::string;
250 }
251 return description_;
252}
253inline ::std::string* ProMCDescription::release_description() {
254 clear_has_description();
255 if (description_ == &::google::protobuf::internal::kEmptyString) {
256 return NULL;
257 } else {
258 ::std::string* temp = description_;
259 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
260 return temp;
261 }
262}
263inline void ProMCDescription::set_allocated_description(::std::string* description) {
264 if (description_ != &::google::protobuf::internal::kEmptyString) {
265 delete description_;
266 }
267 if (description) {
268 set_has_description();
269 description_ = description;
270 } else {
271 clear_has_description();
272 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
273 }
274}
275
276// required uint64 timestamp = 4;
277inline bool ProMCDescription::has_timestamp() const {
278 return (_has_bits_[0] & 0x00000008u) != 0;
279}
280inline void ProMCDescription::set_has_timestamp() {
281 _has_bits_[0] |= 0x00000008u;
282}
283inline void ProMCDescription::clear_has_timestamp() {
284 _has_bits_[0] &= ~0x00000008u;
285}
286inline void ProMCDescription::clear_timestamp() {
287 timestamp_ = GOOGLE_ULONGLONG(0);
288 clear_has_timestamp();
289}
290inline ::google::protobuf::uint64 ProMCDescription::timestamp() const {
291 return timestamp_;
292}
293inline void ProMCDescription::set_timestamp(::google::protobuf::uint64 value) {
294 set_has_timestamp();
295 timestamp_ = value;
296}
297
298
299// @@protoc_insertion_point(namespace_scope)
300
301} // namespace promc
302
303#ifndef SWIG
304namespace google {
305namespace protobuf {
306
307
308} // namespace google
309} // namespace protobuf
310#endif // SWIG
311
312// @@protoc_insertion_point(global_scope)
313
314#endif // PROTOBUF_ProMCDescription_2eproto__INCLUDED
Note: See TracBrowser for help on using the repository browser.