SearchObjects.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/SearchObjects.srv */
00002 #ifndef RE_SRVS_SERVICE_SEARCHOBJECTS_H
00003 #define RE_SRVS_SERVICE_SEARCHOBJECTS_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/StringArray.h"
00022 #include "re_msgs/StringArray.h"
00023 
00024 namespace re_srvs
00025 {
00026 template <class ContainerAllocator>
00027 struct SearchObjectsRequest_ {
00028   typedef SearchObjectsRequest_<ContainerAllocator> Type;
00029 
00030   SearchObjectsRequest_()
00031   : searchID()
00032   {
00033   }
00034 
00035   SearchObjectsRequest_(const ContainerAllocator& _alloc)
00036   : searchID(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _searchID_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  searchID;
00042 
00043 
00044   typedef boost::shared_ptr< ::re_srvs::SearchObjectsRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::re_srvs::SearchObjectsRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct SearchObjectsRequest
00048 typedef  ::re_srvs::SearchObjectsRequest_<std::allocator<void> > SearchObjectsRequest;
00049 
00050 typedef boost::shared_ptr< ::re_srvs::SearchObjectsRequest> SearchObjectsRequestPtr;
00051 typedef boost::shared_ptr< ::re_srvs::SearchObjectsRequest const> SearchObjectsRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct SearchObjectsResponse_ {
00056   typedef SearchObjectsResponse_<ContainerAllocator> Type;
00057 
00058   SearchObjectsResponse_()
00059   : success(false)
00060   , uids()
00061   , objects()
00062   , filenames()
00063   , fileURLs()
00064   {
00065   }
00066 
00067   SearchObjectsResponse_(const ContainerAllocator& _alloc)
00068   : success(false)
00069   , uids(_alloc)
00070   , objects(_alloc)
00071   , filenames(_alloc)
00072   , fileURLs(_alloc)
00073   {
00074   }
00075 
00076   typedef uint8_t _success_type;
00077   uint8_t success;
00078 
00079   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _uids_type;
00080   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  uids;
00081 
00082   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _objects_type;
00083   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  objects;
00084 
00085   typedef std::vector< ::re_msgs::StringArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::StringArray_<ContainerAllocator> >::other >  _filenames_type;
00086   std::vector< ::re_msgs::StringArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::StringArray_<ContainerAllocator> >::other >  filenames;
00087 
00088   typedef std::vector< ::re_msgs::StringArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::StringArray_<ContainerAllocator> >::other >  _fileURLs_type;
00089   std::vector< ::re_msgs::StringArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::StringArray_<ContainerAllocator> >::other >  fileURLs;
00090 
00091 
00092   typedef boost::shared_ptr< ::re_srvs::SearchObjectsResponse_<ContainerAllocator> > Ptr;
00093   typedef boost::shared_ptr< ::re_srvs::SearchObjectsResponse_<ContainerAllocator>  const> ConstPtr;
00094   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00095 }; // struct SearchObjectsResponse
00096 typedef  ::re_srvs::SearchObjectsResponse_<std::allocator<void> > SearchObjectsResponse;
00097 
00098 typedef boost::shared_ptr< ::re_srvs::SearchObjectsResponse> SearchObjectsResponsePtr;
00099 typedef boost::shared_ptr< ::re_srvs::SearchObjectsResponse const> SearchObjectsResponseConstPtr;
00100 
00101 struct SearchObjects
00102 {
00103 
00104 typedef SearchObjectsRequest Request;
00105 typedef SearchObjectsResponse Response;
00106 Request request;
00107 Response response;
00108 
00109 typedef Request RequestType;
00110 typedef Response ResponseType;
00111 }; // struct SearchObjects
00112 } // namespace re_srvs
00113 
00114 namespace ros
00115 {
00116 namespace message_traits
00117 {
00118 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SearchObjectsRequest_<ContainerAllocator> > : public TrueType {};
00119 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SearchObjectsRequest_<ContainerAllocator>  const> : public TrueType {};
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::re_srvs::SearchObjectsRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "2d2d663456e9fa76707235a598ce31c7";
00125   }
00126 
00127   static const char* value(const  ::re_srvs::SearchObjectsRequest_<ContainerAllocator> &) { return value(); } 
00128   static const uint64_t static_value1 = 0x2d2d663456e9fa76ULL;
00129   static const uint64_t static_value2 = 0x707235a598ce31c7ULL;
00130 };
00131 
00132 template<class ContainerAllocator>
00133 struct DataType< ::re_srvs::SearchObjectsRequest_<ContainerAllocator> > {
00134   static const char* value() 
00135   {
00136     return "re_srvs/SearchObjectsRequest";
00137   }
00138 
00139   static const char* value(const  ::re_srvs::SearchObjectsRequest_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 template<class ContainerAllocator>
00143 struct Definition< ::re_srvs::SearchObjectsRequest_<ContainerAllocator> > {
00144   static const char* value() 
00145   {
00146     return "string searchID\n\
00147 \n\
00148 \n\
00149 ";
00150   }
00151 
00152   static const char* value(const  ::re_srvs::SearchObjectsRequest_<ContainerAllocator> &) { return value(); } 
00153 };
00154 
00155 } // namespace message_traits
00156 } // namespace ros
00157 
00158 
00159 namespace ros
00160 {
00161 namespace message_traits
00162 {
00163 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SearchObjectsResponse_<ContainerAllocator> > : public TrueType {};
00164 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SearchObjectsResponse_<ContainerAllocator>  const> : public TrueType {};
00165 template<class ContainerAllocator>
00166 struct MD5Sum< ::re_srvs::SearchObjectsResponse_<ContainerAllocator> > {
00167   static const char* value() 
00168   {
00169     return "74c585e4393b940b47d10bbd4d351f9f";
00170   }
00171 
00172   static const char* value(const  ::re_srvs::SearchObjectsResponse_<ContainerAllocator> &) { return value(); } 
00173   static const uint64_t static_value1 = 0x74c585e4393b940bULL;
00174   static const uint64_t static_value2 = 0x47d10bbd4d351f9fULL;
00175 };
00176 
00177 template<class ContainerAllocator>
00178 struct DataType< ::re_srvs::SearchObjectsResponse_<ContainerAllocator> > {
00179   static const char* value() 
00180   {
00181     return "re_srvs/SearchObjectsResponse";
00182   }
00183 
00184   static const char* value(const  ::re_srvs::SearchObjectsResponse_<ContainerAllocator> &) { return value(); } 
00185 };
00186 
00187 template<class ContainerAllocator>
00188 struct Definition< ::re_srvs::SearchObjectsResponse_<ContainerAllocator> > {
00189   static const char* value() 
00190   {
00191     return "bool success\n\
00192 string[] uids\n\
00193 string[] objects\n\
00194 re_msgs/StringArray[] filenames\n\
00195 re_msgs/StringArray[] fileURLs\n\
00196 \n\
00197 \n\
00198 ================================================================================\n\
00199 MSG: re_msgs/StringArray\n\
00200 # A StringArray message contains an array of strings. This is used by other \n\
00201 # message/service declarations in order to create 2-dimensional string \n\
00202 # arrays with different lengths for one dimension (StringArray[])\n\
00203 string[] list   # array of strings\n\
00204 \n\
00205 ";
00206   }
00207 
00208   static const char* value(const  ::re_srvs::SearchObjectsResponse_<ContainerAllocator> &) { return value(); } 
00209 };
00210 
00211 } // namespace message_traits
00212 } // namespace ros
00213 
00214 namespace ros
00215 {
00216 namespace serialization
00217 {
00218 
00219 template<class ContainerAllocator> struct Serializer< ::re_srvs::SearchObjectsRequest_<ContainerAllocator> >
00220 {
00221   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00222   {
00223     stream.next(m.searchID);
00224   }
00225 
00226   ROS_DECLARE_ALLINONE_SERIALIZER;
00227 }; // struct SearchObjectsRequest_
00228 } // namespace serialization
00229 } // namespace ros
00230 
00231 
00232 namespace ros
00233 {
00234 namespace serialization
00235 {
00236 
00237 template<class ContainerAllocator> struct Serializer< ::re_srvs::SearchObjectsResponse_<ContainerAllocator> >
00238 {
00239   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00240   {
00241     stream.next(m.success);
00242     stream.next(m.uids);
00243     stream.next(m.objects);
00244     stream.next(m.filenames);
00245     stream.next(m.fileURLs);
00246   }
00247 
00248   ROS_DECLARE_ALLINONE_SERIALIZER;
00249 }; // struct SearchObjectsResponse_
00250 } // namespace serialization
00251 } // namespace ros
00252 
00253 namespace ros
00254 {
00255 namespace service_traits
00256 {
00257 template<>
00258 struct MD5Sum<re_srvs::SearchObjects> {
00259   static const char* value() 
00260   {
00261     return "2dfe23d35da7ced197e999d2dd7125f1";
00262   }
00263 
00264   static const char* value(const re_srvs::SearchObjects&) { return value(); } 
00265 };
00266 
00267 template<>
00268 struct DataType<re_srvs::SearchObjects> {
00269   static const char* value() 
00270   {
00271     return "re_srvs/SearchObjects";
00272   }
00273 
00274   static const char* value(const re_srvs::SearchObjects&) { return value(); } 
00275 };
00276 
00277 template<class ContainerAllocator>
00278 struct MD5Sum<re_srvs::SearchObjectsRequest_<ContainerAllocator> > {
00279   static const char* value() 
00280   {
00281     return "2dfe23d35da7ced197e999d2dd7125f1";
00282   }
00283 
00284   static const char* value(const re_srvs::SearchObjectsRequest_<ContainerAllocator> &) { return value(); } 
00285 };
00286 
00287 template<class ContainerAllocator>
00288 struct DataType<re_srvs::SearchObjectsRequest_<ContainerAllocator> > {
00289   static const char* value() 
00290   {
00291     return "re_srvs/SearchObjects";
00292   }
00293 
00294   static const char* value(const re_srvs::SearchObjectsRequest_<ContainerAllocator> &) { return value(); } 
00295 };
00296 
00297 template<class ContainerAllocator>
00298 struct MD5Sum<re_srvs::SearchObjectsResponse_<ContainerAllocator> > {
00299   static const char* value() 
00300   {
00301     return "2dfe23d35da7ced197e999d2dd7125f1";
00302   }
00303 
00304   static const char* value(const re_srvs::SearchObjectsResponse_<ContainerAllocator> &) { return value(); } 
00305 };
00306 
00307 template<class ContainerAllocator>
00308 struct DataType<re_srvs::SearchObjectsResponse_<ContainerAllocator> > {
00309   static const char* value() 
00310   {
00311     return "re_srvs/SearchObjects";
00312   }
00313 
00314   static const char* value(const re_srvs::SearchObjectsResponse_<ContainerAllocator> &) { return value(); } 
00315 };
00316 
00317 } // namespace service_traits
00318 } // namespace ros
00319 
00320 #endif // RE_SRVS_SERVICE_SEARCHOBJECTS_H
00321 


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