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


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