MapFeature.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-geographic_info/doc_stacks/2013-12-28_17-00-50.368681/geographic_info/geographic_msgs/msg/MapFeature.msg */
00002 #ifndef GEOGRAPHIC_MSGS_MESSAGE_MAPFEATURE_H
00003 #define GEOGRAPHIC_MSGS_MESSAGE_MAPFEATURE_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 "uuid_msgs/UniqueID.h"
00018 #include "uuid_msgs/UniqueID.h"
00019 #include "geographic_msgs/KeyValue.h"
00020 
00021 namespace geographic_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct MapFeature_ {
00025   typedef MapFeature_<ContainerAllocator> Type;
00026 
00027   MapFeature_()
00028   : id()
00029   , components()
00030   , props()
00031   {
00032   }
00033 
00034   MapFeature_(const ContainerAllocator& _alloc)
00035   : id(_alloc)
00036   , components(_alloc)
00037   , props(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::uuid_msgs::UniqueID_<ContainerAllocator>  _id_type;
00042    ::uuid_msgs::UniqueID_<ContainerAllocator>  id;
00043 
00044   typedef std::vector< ::uuid_msgs::UniqueID_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uuid_msgs::UniqueID_<ContainerAllocator> >::other >  _components_type;
00045   std::vector< ::uuid_msgs::UniqueID_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uuid_msgs::UniqueID_<ContainerAllocator> >::other >  components;
00046 
00047   typedef std::vector< ::geographic_msgs::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::KeyValue_<ContainerAllocator> >::other >  _props_type;
00048   std::vector< ::geographic_msgs::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geographic_msgs::KeyValue_<ContainerAllocator> >::other >  props;
00049 
00050 
00051   typedef boost::shared_ptr< ::geographic_msgs::MapFeature_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::geographic_msgs::MapFeature_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct MapFeature
00055 typedef  ::geographic_msgs::MapFeature_<std::allocator<void> > MapFeature;
00056 
00057 typedef boost::shared_ptr< ::geographic_msgs::MapFeature> MapFeaturePtr;
00058 typedef boost::shared_ptr< ::geographic_msgs::MapFeature const> MapFeatureConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::geographic_msgs::MapFeature_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::geographic_msgs::MapFeature_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace geographic_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::MapFeature_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::MapFeature_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::geographic_msgs::MapFeature_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "e2505ace5e8da8a15b610eaf62bdefae";
00080   }
00081 
00082   static const char* value(const  ::geographic_msgs::MapFeature_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xe2505ace5e8da8a1ULL;
00084   static const uint64_t static_value2 = 0x5b610eaf62bdefaeULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::geographic_msgs::MapFeature_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "geographic_msgs/MapFeature";
00092   }
00093 
00094   static const char* value(const  ::geographic_msgs::MapFeature_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::geographic_msgs::MapFeature_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# Geographic map feature.\n\
00102 #\n\
00103 # A list of WayPoint IDs for features like streets, highways, hiking\n\
00104 # trails, the outlines of buildings and parking lots in sequential\n\
00105 # order.\n\
00106 #\n\
00107 # Feature lists may also contain other feature lists as members.\n\
00108 \n\
00109 uuid_msgs/UniqueID   id         # Unique feature identifier\n\
00110 uuid_msgs/UniqueID[] components # Sequence of feature components\n\
00111 KeyValue[] props                # Key/value properties for this feature\n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: uuid_msgs/UniqueID\n\
00115 # A universally unique identifier (UUID).\n\
00116 #\n\
00117 #  http://en.wikipedia.org/wiki/Universally_unique_identifier\n\
00118 #  http://tools.ietf.org/html/rfc4122.html\n\
00119 \n\
00120 uint8[16] uuid\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: geographic_msgs/KeyValue\n\
00124 # Geographic map tag (key, value) pair\n\
00125 #\n\
00126 # This is equivalent to diagnostic_msgs/KeyValue, repeated here to\n\
00127 # avoid introducing a trivial stack dependency.\n\
00128 \n\
00129 string key                     # tag label\n\
00130 string value                   # corresponding value\n\
00131 \n\
00132 ";
00133   }
00134 
00135   static const char* value(const  ::geographic_msgs::MapFeature_<ContainerAllocator> &) { return value(); } 
00136 };
00137 
00138 } // namespace message_traits
00139 } // namespace ros
00140 
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145 
00146 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::MapFeature_<ContainerAllocator> >
00147 {
00148   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149   {
00150     stream.next(m.id);
00151     stream.next(m.components);
00152     stream.next(m.props);
00153   }
00154 
00155   ROS_DECLARE_ALLINONE_SERIALIZER;
00156 }; // struct MapFeature_
00157 } // namespace serialization
00158 } // namespace ros
00159 
00160 namespace ros
00161 {
00162 namespace message_operations
00163 {
00164 
00165 template<class ContainerAllocator>
00166 struct Printer< ::geographic_msgs::MapFeature_<ContainerAllocator> >
00167 {
00168   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::geographic_msgs::MapFeature_<ContainerAllocator> & v) 
00169   {
00170     s << indent << "id: ";
00171 s << std::endl;
00172     Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "  ", v.id);
00173     s << indent << "components[]" << std::endl;
00174     for (size_t i = 0; i < v.components.size(); ++i)
00175     {
00176       s << indent << "  components[" << i << "]: ";
00177       s << std::endl;
00178       s << indent;
00179       Printer< ::uuid_msgs::UniqueID_<ContainerAllocator> >::stream(s, indent + "    ", v.components[i]);
00180     }
00181     s << indent << "props[]" << std::endl;
00182     for (size_t i = 0; i < v.props.size(); ++i)
00183     {
00184       s << indent << "  props[" << i << "]: ";
00185       s << std::endl;
00186       s << indent;
00187       Printer< ::geographic_msgs::KeyValue_<ContainerAllocator> >::stream(s, indent + "    ", v.props[i]);
00188     }
00189   }
00190 };
00191 
00192 
00193 } // namespace message_operations
00194 } // namespace ros
00195 
00196 #endif // GEOGRAPHIC_MSGS_MESSAGE_MAPFEATURE_H
00197 


geographic_msgs
Author(s): Jack O'Quin
autogenerated on Sat Dec 28 2013 17:02:27