Drizzled Public API Documentation

access.pb.h
00001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
00002 // source: access.proto
00003 
00004 #ifndef PROTOBUF_access_2eproto__INCLUDED
00005 #define PROTOBUF_access_2eproto__INCLUDED
00006 
00007 #include <string>
00008 
00009 #include <google/protobuf/stubs/common.h>
00010 
00011 #if GOOGLE_PROTOBUF_VERSION < 2004000
00012 #error This file was generated by a newer version of protoc which is
00013 #error incompatible with your Protocol Buffer headers.  Please update
00014 #error your headers.
00015 #endif
00016 #if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
00017 #error This file was generated by an older version of protoc which is
00018 #error incompatible with your Protocol Buffer headers.  Please
00019 #error regenerate this file with a newer version of protoc.
00020 #endif
00021 
00022 #include <google/protobuf/generated_message_util.h>
00023 #include <google/protobuf/repeated_field.h>
00024 #include <google/protobuf/extension_set.h>
00025 #include <google/protobuf/generated_message_reflection.h>
00026 // @@protoc_insertion_point(includes)
00027 
00028 namespace drizzled {
00029 namespace message {
00030 
00031 // Internal implementation detail -- do not call these.
00032 void  protobuf_AddDesc_access_2eproto();
00033 void protobuf_AssignDesc_access_2eproto();
00034 void protobuf_ShutdownFile_access_2eproto();
00035 
00036 class Access;
00037 
00038 // ===================================================================
00039 
00040 class Access : public ::google::protobuf::Message {
00041  public:
00042   Access();
00043   virtual ~Access();
00044   
00045   Access(const Access& from);
00046   
00047   inline Access& operator=(const Access& from) {
00048     CopyFrom(from);
00049     return *this;
00050   }
00051   
00052   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00053     return _unknown_fields_;
00054   }
00055   
00056   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00057     return &_unknown_fields_;
00058   }
00059   
00060   static const ::google::protobuf::Descriptor* descriptor();
00061   static const Access& default_instance();
00062   
00063   void Swap(Access* other);
00064   
00065   // implements Message ----------------------------------------------
00066   
00067   Access* New() const;
00068   void CopyFrom(const ::google::protobuf::Message& from);
00069   void MergeFrom(const ::google::protobuf::Message& from);
00070   void CopyFrom(const Access& from);
00071   void MergeFrom(const Access& from);
00072   void Clear();
00073   bool IsInitialized() const;
00074   
00075   int ByteSize() const;
00076   bool MergePartialFromCodedStream(
00077       ::google::protobuf::io::CodedInputStream* input);
00078   void SerializeWithCachedSizes(
00079       ::google::protobuf::io::CodedOutputStream* output) const;
00080   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00081   int GetCachedSize() const { return _cached_size_; }
00082   private:
00083   void SharedCtor();
00084   void SharedDtor();
00085   void SetCachedSize(int size) const;
00086   public:
00087   
00088   ::google::protobuf::Metadata GetMetadata() const;
00089   
00090   // nested types ----------------------------------------------------
00091   
00092   // accessors -------------------------------------------------------
00093   
00094   // optional string definer = 1;
00095   inline bool has_definer() const;
00096   inline void clear_definer();
00097   static const int kDefinerFieldNumber = 1;
00098   inline const ::std::string& definer() const;
00099   inline void set_definer(const ::std::string& value);
00100   inline void set_definer(const char* value);
00101   inline void set_definer(const char* value, size_t size);
00102   inline ::std::string* mutable_definer();
00103   inline ::std::string* release_definer();
00104   
00105   // optional string invoker = 2;
00106   inline bool has_invoker() const;
00107   inline void clear_invoker();
00108   static const int kInvokerFieldNumber = 2;
00109   inline const ::std::string& invoker() const;
00110   inline void set_invoker(const ::std::string& value);
00111   inline void set_invoker(const char* value);
00112   inline void set_invoker(const char* value, size_t size);
00113   inline ::std::string* mutable_invoker();
00114   inline ::std::string* release_invoker();
00115   
00116   // @@protoc_insertion_point(class_scope:drizzled.message.Access)
00117  private:
00118   inline void set_has_definer();
00119   inline void clear_has_definer();
00120   inline void set_has_invoker();
00121   inline void clear_has_invoker();
00122   
00123   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00124   
00125   ::std::string* definer_;
00126   ::std::string* invoker_;
00127   
00128   mutable int _cached_size_;
00129   ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00130   
00131   friend void  protobuf_AddDesc_access_2eproto();
00132   friend void protobuf_AssignDesc_access_2eproto();
00133   friend void protobuf_ShutdownFile_access_2eproto();
00134   
00135   void InitAsDefaultInstance();
00136   static Access* default_instance_;
00137 };
00138 // ===================================================================
00139 
00140 
00141 // ===================================================================
00142 
00143 // Access
00144 
00145 // optional string definer = 1;
00146 inline bool Access::has_definer() const {
00147   return (_has_bits_[0] & 0x00000001u) != 0;
00148 }
00149 inline void Access::set_has_definer() {
00150   _has_bits_[0] |= 0x00000001u;
00151 }
00152 inline void Access::clear_has_definer() {
00153   _has_bits_[0] &= ~0x00000001u;
00154 }
00155 inline void Access::clear_definer() {
00156   if (definer_ != &::google::protobuf::internal::kEmptyString) {
00157     definer_->clear();
00158   }
00159   clear_has_definer();
00160 }
00161 inline const ::std::string& Access::definer() const {
00162   return *definer_;
00163 }
00164 inline void Access::set_definer(const ::std::string& value) {
00165   set_has_definer();
00166   if (definer_ == &::google::protobuf::internal::kEmptyString) {
00167     definer_ = new ::std::string;
00168   }
00169   definer_->assign(value);
00170 }
00171 inline void Access::set_definer(const char* value) {
00172   set_has_definer();
00173   if (definer_ == &::google::protobuf::internal::kEmptyString) {
00174     definer_ = new ::std::string;
00175   }
00176   definer_->assign(value);
00177 }
00178 inline void Access::set_definer(const char* value, size_t size) {
00179   set_has_definer();
00180   if (definer_ == &::google::protobuf::internal::kEmptyString) {
00181     definer_ = new ::std::string;
00182   }
00183   definer_->assign(reinterpret_cast<const char*>(value), size);
00184 }
00185 inline ::std::string* Access::mutable_definer() {
00186   set_has_definer();
00187   if (definer_ == &::google::protobuf::internal::kEmptyString) {
00188     definer_ = new ::std::string;
00189   }
00190   return definer_;
00191 }
00192 inline ::std::string* Access::release_definer() {
00193   clear_has_definer();
00194   if (definer_ == &::google::protobuf::internal::kEmptyString) {
00195     return NULL;
00196   } else {
00197     ::std::string* temp = definer_;
00198     definer_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00199     return temp;
00200   }
00201 }
00202 
00203 // optional string invoker = 2;
00204 inline bool Access::has_invoker() const {
00205   return (_has_bits_[0] & 0x00000002u) != 0;
00206 }
00207 inline void Access::set_has_invoker() {
00208   _has_bits_[0] |= 0x00000002u;
00209 }
00210 inline void Access::clear_has_invoker() {
00211   _has_bits_[0] &= ~0x00000002u;
00212 }
00213 inline void Access::clear_invoker() {
00214   if (invoker_ != &::google::protobuf::internal::kEmptyString) {
00215     invoker_->clear();
00216   }
00217   clear_has_invoker();
00218 }
00219 inline const ::std::string& Access::invoker() const {
00220   return *invoker_;
00221 }
00222 inline void Access::set_invoker(const ::std::string& value) {
00223   set_has_invoker();
00224   if (invoker_ == &::google::protobuf::internal::kEmptyString) {
00225     invoker_ = new ::std::string;
00226   }
00227   invoker_->assign(value);
00228 }
00229 inline void Access::set_invoker(const char* value) {
00230   set_has_invoker();
00231   if (invoker_ == &::google::protobuf::internal::kEmptyString) {
00232     invoker_ = new ::std::string;
00233   }
00234   invoker_->assign(value);
00235 }
00236 inline void Access::set_invoker(const char* value, size_t size) {
00237   set_has_invoker();
00238   if (invoker_ == &::google::protobuf::internal::kEmptyString) {
00239     invoker_ = new ::std::string;
00240   }
00241   invoker_->assign(reinterpret_cast<const char*>(value), size);
00242 }
00243 inline ::std::string* Access::mutable_invoker() {
00244   set_has_invoker();
00245   if (invoker_ == &::google::protobuf::internal::kEmptyString) {
00246     invoker_ = new ::std::string;
00247   }
00248   return invoker_;
00249 }
00250 inline ::std::string* Access::release_invoker() {
00251   clear_has_invoker();
00252   if (invoker_ == &::google::protobuf::internal::kEmptyString) {
00253     return NULL;
00254   } else {
00255     ::std::string* temp = invoker_;
00256     invoker_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
00257     return temp;
00258   }
00259 }
00260 
00261 
00262 // @@protoc_insertion_point(namespace_scope)
00263 
00264 }  // namespace message
00265 }  // namespace drizzled
00266 
00267 #ifndef SWIG
00268 namespace google {
00269 namespace protobuf {
00270 
00271 
00272 }  // namespace google
00273 }  // namespace protobuf
00274 #endif  // SWIG
00275 
00276 // @@protoc_insertion_point(global_scope)
00277 
00278 #endif  // PROTOBUF_access_2eproto__INCLUDED