UUID.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-visualization_engine/doc_stacks/2013-12-11_14-28-19.339941/visualization_engine/rve_msgs/msg/UUID.msg */
00002 #ifndef RVE_MSGS_MESSAGE_UUID_H
00003 #define RVE_MSGS_MESSAGE_UUID_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 rve_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct UUID_ {
00022   typedef UUID_<ContainerAllocator> Type;
00023 
00024   UUID_()
00025   : data()
00026   {
00027     data.assign(0);
00028   }
00029 
00030   UUID_(const ContainerAllocator& _alloc)
00031   : data()
00032   {
00033     data.assign(0);
00034   }
00035 
00036   typedef boost::array<uint8_t, 16>  _data_type;
00037   boost::array<uint8_t, 16>  data;
00038 
00039 
00040   typedef boost::shared_ptr< ::rve_msgs::UUID_<ContainerAllocator> > Ptr;
00041   typedef boost::shared_ptr< ::rve_msgs::UUID_<ContainerAllocator>  const> ConstPtr;
00042   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00043 }; // struct UUID
00044 typedef  ::rve_msgs::UUID_<std::allocator<void> > UUID;
00045 
00046 typedef boost::shared_ptr< ::rve_msgs::UUID> UUIDPtr;
00047 typedef boost::shared_ptr< ::rve_msgs::UUID const> UUIDConstPtr;
00048 
00049 
00050 template<typename ContainerAllocator>
00051 std::ostream& operator<<(std::ostream& s, const  ::rve_msgs::UUID_<ContainerAllocator> & v)
00052 {
00053   ros::message_operations::Printer< ::rve_msgs::UUID_<ContainerAllocator> >::stream(s, "", v);
00054   return s;}
00055 
00056 } // namespace rve_msgs
00057 
00058 namespace ros
00059 {
00060 namespace message_traits
00061 {
00062 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::UUID_<ContainerAllocator> > : public TrueType {};
00063 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::UUID_<ContainerAllocator>  const> : public TrueType {};
00064 template<class ContainerAllocator>
00065 struct MD5Sum< ::rve_msgs::UUID_<ContainerAllocator> > {
00066   static const char* value() 
00067   {
00068     return "a4e84d0a73514dfe9696b4796e8755e7";
00069   }
00070 
00071   static const char* value(const  ::rve_msgs::UUID_<ContainerAllocator> &) { return value(); } 
00072   static const uint64_t static_value1 = 0xa4e84d0a73514dfeULL;
00073   static const uint64_t static_value2 = 0x9696b4796e8755e7ULL;
00074 };
00075 
00076 template<class ContainerAllocator>
00077 struct DataType< ::rve_msgs::UUID_<ContainerAllocator> > {
00078   static const char* value() 
00079   {
00080     return "rve_msgs/UUID";
00081   }
00082 
00083   static const char* value(const  ::rve_msgs::UUID_<ContainerAllocator> &) { return value(); } 
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct Definition< ::rve_msgs::UUID_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "uint8[16] data\n\
00091 \n\
00092 ";
00093   }
00094 
00095   static const char* value(const  ::rve_msgs::UUID_<ContainerAllocator> &) { return value(); } 
00096 };
00097 
00098 template<class ContainerAllocator> struct IsFixedSize< ::rve_msgs::UUID_<ContainerAllocator> > : public TrueType {};
00099 } // namespace message_traits
00100 } // namespace ros
00101 
00102 namespace ros
00103 {
00104 namespace serialization
00105 {
00106 
00107 template<class ContainerAllocator> struct Serializer< ::rve_msgs::UUID_<ContainerAllocator> >
00108 {
00109   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00110   {
00111     stream.next(m.data);
00112   }
00113 
00114   ROS_DECLARE_ALLINONE_SERIALIZER;
00115 }; // struct UUID_
00116 } // namespace serialization
00117 } // namespace ros
00118 
00119 namespace ros
00120 {
00121 namespace message_operations
00122 {
00123 
00124 template<class ContainerAllocator>
00125 struct Printer< ::rve_msgs::UUID_<ContainerAllocator> >
00126 {
00127   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::rve_msgs::UUID_<ContainerAllocator> & v) 
00128   {
00129     s << indent << "data[]" << std::endl;
00130     for (size_t i = 0; i < v.data.size(); ++i)
00131     {
00132       s << indent << "  data[" << i << "]: ";
00133       Printer<uint8_t>::stream(s, indent + "  ", v.data[i]);
00134     }
00135   }
00136 };
00137 
00138 
00139 } // namespace message_operations
00140 } // namespace ros
00141 
00142 #endif // RVE_MSGS_MESSAGE_UUID_H
00143 


rve_msgs
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:30:39