UpdateObjectBinaryFile.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roboearth/doc_stacks/2014-01-05_11-23-46.303839/roboearth/re_srvs/srv/UpdateObjectBinaryFile.srv */
00002 #ifndef RE_SRVS_SERVICE_UPDATEOBJECTBINARYFILE_H
00003 #define RE_SRVS_SERVICE_UPDATEOBJECTBINARYFILE_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 #include "ros/service_traits.h"
00018 
00019 #include "re_msgs/File.h"
00020 
00021 
00022 
00023 namespace re_srvs
00024 {
00025 template <class ContainerAllocator>
00026 struct UpdateObjectBinaryFileRequest_ {
00027   typedef UpdateObjectBinaryFileRequest_<ContainerAllocator> Type;
00028 
00029   UpdateObjectBinaryFileRequest_()
00030   : objectUID()
00031   , file()
00032   , apiKey()
00033   {
00034   }
00035 
00036   UpdateObjectBinaryFileRequest_(const ContainerAllocator& _alloc)
00037   : objectUID(_alloc)
00038   , file(_alloc)
00039   , apiKey(_alloc)
00040   {
00041   }
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _objectUID_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  objectUID;
00045 
00046   typedef  ::re_msgs::File_<ContainerAllocator>  _file_type;
00047    ::re_msgs::File_<ContainerAllocator>  file;
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _apiKey_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  apiKey;
00051 
00052 
00053   typedef boost::shared_ptr< ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct UpdateObjectBinaryFileRequest
00057 typedef  ::re_srvs::UpdateObjectBinaryFileRequest_<std::allocator<void> > UpdateObjectBinaryFileRequest;
00058 
00059 typedef boost::shared_ptr< ::re_srvs::UpdateObjectBinaryFileRequest> UpdateObjectBinaryFileRequestPtr;
00060 typedef boost::shared_ptr< ::re_srvs::UpdateObjectBinaryFileRequest const> UpdateObjectBinaryFileRequestConstPtr;
00061 
00062 
00063 template <class ContainerAllocator>
00064 struct UpdateObjectBinaryFileResponse_ {
00065   typedef UpdateObjectBinaryFileResponse_<ContainerAllocator> Type;
00066 
00067   UpdateObjectBinaryFileResponse_()
00068   : success(false)
00069   {
00070   }
00071 
00072   UpdateObjectBinaryFileResponse_(const ContainerAllocator& _alloc)
00073   : success(false)
00074   {
00075   }
00076 
00077   typedef uint8_t _success_type;
00078   uint8_t success;
00079 
00080 
00081   typedef boost::shared_ptr< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> > Ptr;
00082   typedef boost::shared_ptr< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator>  const> ConstPtr;
00083   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 }; // struct UpdateObjectBinaryFileResponse
00085 typedef  ::re_srvs::UpdateObjectBinaryFileResponse_<std::allocator<void> > UpdateObjectBinaryFileResponse;
00086 
00087 typedef boost::shared_ptr< ::re_srvs::UpdateObjectBinaryFileResponse> UpdateObjectBinaryFileResponsePtr;
00088 typedef boost::shared_ptr< ::re_srvs::UpdateObjectBinaryFileResponse const> UpdateObjectBinaryFileResponseConstPtr;
00089 
00090 struct UpdateObjectBinaryFile
00091 {
00092 
00093 typedef UpdateObjectBinaryFileRequest Request;
00094 typedef UpdateObjectBinaryFileResponse Response;
00095 Request request;
00096 Response response;
00097 
00098 typedef Request RequestType;
00099 typedef Response ResponseType;
00100 }; // struct UpdateObjectBinaryFile
00101 } // namespace re_srvs
00102 
00103 namespace ros
00104 {
00105 namespace message_traits
00106 {
00107 template<class ContainerAllocator> struct IsMessage< ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator>  const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "2e17582e3f8e71adc56b4d42a0ddd89e";
00114   }
00115 
00116   static const char* value(const  ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> &) { return value(); } 
00117   static const uint64_t static_value1 = 0x2e17582e3f8e71adULL;
00118   static const uint64_t static_value2 = 0xc56b4d42a0ddd89eULL;
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct DataType< ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "re_srvs/UpdateObjectBinaryFileRequest";
00126   }
00127 
00128   static const char* value(const  ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> &) { return value(); } 
00129 };
00130 
00131 template<class ContainerAllocator>
00132 struct Definition< ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> > {
00133   static const char* value() 
00134   {
00135     return "string objectUID\n\
00136 re_msgs/File file\n\
00137 string apiKey\n\
00138 \n\
00139 \n\
00140 ================================================================================\n\
00141 MSG: re_msgs/File\n\
00142 # This file representation is used to pass binary data to the RoboEarthDB.\n\
00143 # As the endianess isn't stored, only files with a byte order mark (BOM) or\n\
00144 # an implicitly specified endianess should be transferred.\n\
00145 string name   # file name\n\
00146 int8[] data   # binary data \n\
00147 \n\
00148 ";
00149   }
00150 
00151   static const char* value(const  ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> &) { return value(); } 
00152 };
00153 
00154 } // namespace message_traits
00155 } // namespace ros
00156 
00157 
00158 namespace ros
00159 {
00160 namespace message_traits
00161 {
00162 template<class ContainerAllocator> struct IsMessage< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct IsMessage< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator>  const> : public TrueType {};
00164 template<class ContainerAllocator>
00165 struct MD5Sum< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> > {
00166   static const char* value() 
00167   {
00168     return "358e233cde0c8a8bcfea4ce193f8fc15";
00169   }
00170 
00171   static const char* value(const  ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> &) { return value(); } 
00172   static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00173   static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00174 };
00175 
00176 template<class ContainerAllocator>
00177 struct DataType< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> > {
00178   static const char* value() 
00179   {
00180     return "re_srvs/UpdateObjectBinaryFileResponse";
00181   }
00182 
00183   static const char* value(const  ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> &) { return value(); } 
00184 };
00185 
00186 template<class ContainerAllocator>
00187 struct Definition< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> > {
00188   static const char* value() 
00189   {
00190     return "bool success\n\
00191 \n\
00192 \n\
00193 ";
00194   }
00195 
00196   static const char* value(const  ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> &) { return value(); } 
00197 };
00198 
00199 template<class ContainerAllocator> struct IsFixedSize< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> > : public TrueType {};
00200 } // namespace message_traits
00201 } // namespace ros
00202 
00203 namespace ros
00204 {
00205 namespace serialization
00206 {
00207 
00208 template<class ContainerAllocator> struct Serializer< ::re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> >
00209 {
00210   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00211   {
00212     stream.next(m.objectUID);
00213     stream.next(m.file);
00214     stream.next(m.apiKey);
00215   }
00216 
00217   ROS_DECLARE_ALLINONE_SERIALIZER;
00218 }; // struct UpdateObjectBinaryFileRequest_
00219 } // namespace serialization
00220 } // namespace ros
00221 
00222 
00223 namespace ros
00224 {
00225 namespace serialization
00226 {
00227 
00228 template<class ContainerAllocator> struct Serializer< ::re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> >
00229 {
00230   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00231   {
00232     stream.next(m.success);
00233   }
00234 
00235   ROS_DECLARE_ALLINONE_SERIALIZER;
00236 }; // struct UpdateObjectBinaryFileResponse_
00237 } // namespace serialization
00238 } // namespace ros
00239 
00240 namespace ros
00241 {
00242 namespace service_traits
00243 {
00244 template<>
00245 struct MD5Sum<re_srvs::UpdateObjectBinaryFile> {
00246   static const char* value() 
00247   {
00248     return "7808c6e49a19c0dc4fd0244bedf75931";
00249   }
00250 
00251   static const char* value(const re_srvs::UpdateObjectBinaryFile&) { return value(); } 
00252 };
00253 
00254 template<>
00255 struct DataType<re_srvs::UpdateObjectBinaryFile> {
00256   static const char* value() 
00257   {
00258     return "re_srvs/UpdateObjectBinaryFile";
00259   }
00260 
00261   static const char* value(const re_srvs::UpdateObjectBinaryFile&) { return value(); } 
00262 };
00263 
00264 template<class ContainerAllocator>
00265 struct MD5Sum<re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> > {
00266   static const char* value() 
00267   {
00268     return "7808c6e49a19c0dc4fd0244bedf75931";
00269   }
00270 
00271   static const char* value(const re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> &) { return value(); } 
00272 };
00273 
00274 template<class ContainerAllocator>
00275 struct DataType<re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> > {
00276   static const char* value() 
00277   {
00278     return "re_srvs/UpdateObjectBinaryFile";
00279   }
00280 
00281   static const char* value(const re_srvs::UpdateObjectBinaryFileRequest_<ContainerAllocator> &) { return value(); } 
00282 };
00283 
00284 template<class ContainerAllocator>
00285 struct MD5Sum<re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> > {
00286   static const char* value() 
00287   {
00288     return "7808c6e49a19c0dc4fd0244bedf75931";
00289   }
00290 
00291   static const char* value(const re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> &) { return value(); } 
00292 };
00293 
00294 template<class ContainerAllocator>
00295 struct DataType<re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> > {
00296   static const char* value() 
00297   {
00298     return "re_srvs/UpdateObjectBinaryFile";
00299   }
00300 
00301   static const char* value(const re_srvs::UpdateObjectBinaryFileResponse_<ContainerAllocator> &) { return value(); } 
00302 };
00303 
00304 } // namespace service_traits
00305 } // namespace ros
00306 
00307 #endif // RE_SRVS_SERVICE_UPDATEOBJECTBINARYFILE_H
00308 


re_srvs
Author(s): Alexander Perzylo
autogenerated on Sun Jan 5 2014 11:28:43