4 #ifndef PROTOBUF_goby_2fcommon_2fprotobuf_2fhdf5_2eproto__INCLUDED 5 #define PROTOBUF_goby_2fcommon_2fprotobuf_2fhdf5_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 2006000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 2006001 < 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. 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 #include <boost/units/quantity.hpp> 28 #include <boost/units/absolute.hpp> 29 #include <boost/units/dimensionless_type.hpp> 30 #include <boost/units/make_scaled_unit.hpp> 38 void protobuf_AddDesc_goby_2fcommon_2fprotobuf_2fhdf5_2eproto();
39 void protobuf_AssignDesc_goby_2fcommon_2fprotobuf_2fhdf5_2eproto();
40 void protobuf_ShutdownFile_goby_2fcommon_2fprotobuf_2fhdf5_2eproto();
58 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
59 return _unknown_fields_;
62 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63 return &_unknown_fields_;
66 static const ::google::protobuf::Descriptor* descriptor();
74 void CopyFrom(const ::google::protobuf::Message& from);
75 void MergeFrom(const ::google::protobuf::Message& from);
79 bool IsInitialized()
const;
82 bool MergePartialFromCodedStream(
83 ::google::protobuf::io::CodedInputStream* input);
84 void SerializeWithCachedSizes(
85 ::google::protobuf::io::CodedOutputStream* output)
const;
86 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
87 int GetCachedSize()
const {
return _cached_size_; }
91 void SetCachedSize(
int size)
const;
93 ::google::protobuf::Metadata GetMetadata()
const;
100 inline bool has_output_file()
const;
101 inline void clear_output_file();
102 static const int kOutputFileFieldNumber = 10;
103 inline const ::std::string& output_file()
const;
104 inline void set_output_file(const ::std::string& value);
105 inline void set_output_file(
const char* value);
106 inline void set_output_file(
const char* value,
size_t size);
107 inline ::std::string* mutable_output_file();
108 inline ::std::string* release_output_file();
109 inline void set_allocated_output_file(::std::string* output_file);
112 inline bool has_include_string_fields()
const;
113 inline void clear_include_string_fields();
114 static const int kIncludeStringFieldsFieldNumber = 20;
115 inline bool include_string_fields()
const;
116 inline void set_include_string_fields(
bool value);
119 inline int input_file_size()
const;
120 inline void clear_input_file();
121 static const int kInputFileFieldNumber = 30;
122 inline const ::std::string& input_file(
int index)
const;
123 inline ::std::string* mutable_input_file(
int index);
124 inline void set_input_file(
int index, const ::std::string& value);
125 inline void set_input_file(
int index,
const char* value);
126 inline void set_input_file(
int index,
const char* value,
size_t size);
127 inline ::std::string* add_input_file();
128 inline void add_input_file(const ::std::string& value);
129 inline void add_input_file(
const char* value);
130 inline void add_input_file(
const char* value,
size_t size);
131 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& input_file()
const;
132 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_input_file();
134 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(
HDF5Config)
137 inline void set_has_output_file();
138 inline void clear_has_output_file();
139 inline void set_has_include_string_fields();
140 inline void clear_has_include_string_fields();
142 ::google::protobuf::internal::ExtensionSet _extensions_;
144 ::google::protobuf::UnknownFieldSet _unknown_fields_;
146 ::google::protobuf::uint32 _has_bits_[1];
147 mutable int _cached_size_;
148 ::std::string* output_file_;
149 ::google::protobuf::RepeatedPtrField< ::std::string> input_file_;
150 bool include_string_fields_;
151 friend void protobuf_AddDesc_goby_2fcommon_2fprotobuf_2fhdf5_2eproto();
152 friend void protobuf_AssignDesc_goby_2fcommon_2fprotobuf_2fhdf5_2eproto();
153 friend void protobuf_ShutdownFile_goby_2fcommon_2fprotobuf_2fhdf5_2eproto();
155 void InitAsDefaultInstance();
166 inline bool HDF5Config::has_output_file()
const {
167 return (_has_bits_[0] & 0x00000001u) != 0;
169 inline void HDF5Config::set_has_output_file() {
170 _has_bits_[0] |= 0x00000001u;
172 inline void HDF5Config::clear_has_output_file() {
173 _has_bits_[0] &= ~0x00000001u;
175 inline void HDF5Config::clear_output_file() {
176 if (output_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
177 output_file_->clear();
179 clear_has_output_file();
181 inline const ::std::string& HDF5Config::output_file()
const {
183 return *output_file_;
185 inline void HDF5Config::set_output_file(const ::std::string& value) {
186 set_has_output_file();
187 if (output_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
188 output_file_ = new ::std::string;
190 output_file_->assign(value);
193 inline void HDF5Config::set_output_file(
const char* value) {
194 set_has_output_file();
195 if (output_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
196 output_file_ = new ::std::string;
198 output_file_->assign(value);
201 inline void HDF5Config::set_output_file(
const char* value,
size_t size) {
202 set_has_output_file();
203 if (output_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
204 output_file_ = new ::std::string;
206 output_file_->assign(reinterpret_cast<const char*>(value), size);
209 inline ::std::string* HDF5Config::mutable_output_file() {
210 set_has_output_file();
211 if (output_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
212 output_file_ = new ::std::string;
217 inline ::std::string* HDF5Config::release_output_file() {
218 clear_has_output_file();
219 if (output_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
222 ::std::string* temp = output_file_;
223 output_file_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
227 inline void HDF5Config::set_allocated_output_file(::std::string* output_file) {
228 if (output_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
232 set_has_output_file();
233 output_file_ = output_file;
235 clear_has_output_file();
236 output_file_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
242 inline bool HDF5Config::has_include_string_fields()
const {
243 return (_has_bits_[0] & 0x00000002u) != 0;
245 inline void HDF5Config::set_has_include_string_fields() {
246 _has_bits_[0] |= 0x00000002u;
248 inline void HDF5Config::clear_has_include_string_fields() {
249 _has_bits_[0] &= ~0x00000002u;
251 inline void HDF5Config::clear_include_string_fields() {
252 include_string_fields_ =
false;
253 clear_has_include_string_fields();
255 inline bool HDF5Config::include_string_fields()
const {
257 return include_string_fields_;
259 inline void HDF5Config::set_include_string_fields(
bool value) {
260 set_has_include_string_fields();
261 include_string_fields_ = value;
266 inline int HDF5Config::input_file_size()
const {
267 return input_file_.size();
269 inline void HDF5Config::clear_input_file() {
272 inline const ::std::string& HDF5Config::input_file(
int index)
const {
274 return input_file_.Get(index);
276 inline ::std::string* HDF5Config::mutable_input_file(
int index) {
278 return input_file_.Mutable(index);
280 inline void HDF5Config::set_input_file(
int index, const ::std::string& value) {
282 input_file_.Mutable(index)->assign(value);
284 inline void HDF5Config::set_input_file(
int index,
const char* value) {
285 input_file_.Mutable(index)->assign(value);
288 inline void HDF5Config::set_input_file(
int index,
const char* value,
size_t size) {
289 input_file_.Mutable(index)->assign(
290 reinterpret_cast<const char*>(value), size);
293 inline ::std::string* HDF5Config::add_input_file() {
294 return input_file_.Add();
296 inline void HDF5Config::add_input_file(const ::std::string& value) {
297 input_file_.Add()->assign(value);
300 inline void HDF5Config::add_input_file(
const char* value) {
301 input_file_.Add()->assign(value);
304 inline void HDF5Config::add_input_file(
const char* value,
size_t size) {
305 input_file_.Add()->assign(reinterpret_cast<const char*>(value), size);
308 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
309 HDF5Config::input_file()
const {
313 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
314 HDF5Config::mutable_input_file() {
337 #endif // PROTOBUF_goby_2fcommon_2fprotobuf_2fhdf5_2eproto__INCLUDED
The global namespace for the Goby project.