MapListEntry.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-map_store/doc_stacks/2013-12-28_17-09-03.580474/map_store/msg/MapListEntry.msg */
00002 #ifndef MAP_STORE_MESSAGE_MAPLISTENTRY_H
00003 #define MAP_STORE_MESSAGE_MAPLISTENTRY_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 
00018 namespace map_store
00019 {
00020 template <class ContainerAllocator>
00021 struct MapListEntry_ {
00022   typedef MapListEntry_<ContainerAllocator> Type;
00023 
00024   MapListEntry_()
00025   : name()
00026   , session_id()
00027   , date(0)
00028   , map_id()
00029   {
00030   }
00031 
00032   MapListEntry_(const ContainerAllocator& _alloc)
00033   : name(_alloc)
00034   , session_id(_alloc)
00035   , date(0)
00036   , map_id(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _session_id_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  session_id;
00045 
00046   typedef int64_t _date_type;
00047   int64_t date;
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _map_id_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  map_id;
00051 
00052 
00053   typedef boost::shared_ptr< ::map_store::MapListEntry_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::map_store::MapListEntry_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct MapListEntry
00057 typedef  ::map_store::MapListEntry_<std::allocator<void> > MapListEntry;
00058 
00059 typedef boost::shared_ptr< ::map_store::MapListEntry> MapListEntryPtr;
00060 typedef boost::shared_ptr< ::map_store::MapListEntry const> MapListEntryConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::map_store::MapListEntry_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::map_store::MapListEntry_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace map_store
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::map_store::MapListEntry_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::map_store::MapListEntry_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::map_store::MapListEntry_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "092f024758d394d17196cd37d999fdb0";
00082   }
00083 
00084   static const char* value(const  ::map_store::MapListEntry_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x092f024758d394d1ULL;
00086   static const uint64_t static_value2 = 0x7196cd37d999fdb0ULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::map_store::MapListEntry_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "map_store/MapListEntry";
00094   }
00095 
00096   static const char* value(const  ::map_store::MapListEntry_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::map_store::MapListEntry_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "# One entry in a list of maps.\n\
00104 \n\
00105 # Naming a map is optional.\n\
00106 string name\n\
00107 \n\
00108 # Maps made by the make-a-map app are given a session ID, which is the\n\
00109 # time when the map-making session was started, expressed as seconds\n\
00110 # since the epoch and converted to a string.\n\
00111 string session_id\n\
00112 \n\
00113 # Creation time of this map, in seconds since the epoch.\n\
00114 int64 date\n\
00115 \n\
00116 # Unique ID of this map.\n\
00117 string map_id\n\
00118 \n\
00119 ";
00120   }
00121 
00122   static const char* value(const  ::map_store::MapListEntry_<ContainerAllocator> &) { return value(); } 
00123 };
00124 
00125 } // namespace message_traits
00126 } // namespace ros
00127 
00128 namespace ros
00129 {
00130 namespace serialization
00131 {
00132 
00133 template<class ContainerAllocator> struct Serializer< ::map_store::MapListEntry_<ContainerAllocator> >
00134 {
00135   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00136   {
00137     stream.next(m.name);
00138     stream.next(m.session_id);
00139     stream.next(m.date);
00140     stream.next(m.map_id);
00141   }
00142 
00143   ROS_DECLARE_ALLINONE_SERIALIZER;
00144 }; // struct MapListEntry_
00145 } // namespace serialization
00146 } // namespace ros
00147 
00148 namespace ros
00149 {
00150 namespace message_operations
00151 {
00152 
00153 template<class ContainerAllocator>
00154 struct Printer< ::map_store::MapListEntry_<ContainerAllocator> >
00155 {
00156   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::map_store::MapListEntry_<ContainerAllocator> & v) 
00157   {
00158     s << indent << "name: ";
00159     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00160     s << indent << "session_id: ";
00161     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.session_id);
00162     s << indent << "date: ";
00163     Printer<int64_t>::stream(s, indent + "  ", v.date);
00164     s << indent << "map_id: ";
00165     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.map_id);
00166   }
00167 };
00168 
00169 
00170 } // namespace message_operations
00171 } // namespace ros
00172 
00173 #endif // MAP_STORE_MESSAGE_MAPLISTENTRY_H
00174 


map_store
Author(s): Dave Hershberger
autogenerated on Sat Dec 28 2013 17:10:27