TextAlignment.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/TextAlignment.msg */
00002 #ifndef RVE_MSGS_MESSAGE_TEXTALIGNMENT_H
00003 #define RVE_MSGS_MESSAGE_TEXTALIGNMENT_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 TextAlignment_ {
00022   typedef TextAlignment_<ContainerAllocator> Type;
00023 
00024   TextAlignment_()
00025   : horizontal(0)
00026   , vertical(0)
00027   {
00028   }
00029 
00030   TextAlignment_(const ContainerAllocator& _alloc)
00031   : horizontal(0)
00032   , vertical(0)
00033   {
00034   }
00035 
00036   typedef uint8_t _horizontal_type;
00037   uint8_t horizontal;
00038 
00039   typedef uint8_t _vertical_type;
00040   uint8_t vertical;
00041 
00042   enum { H_LEFT = 0 };
00043   enum { H_CENTER = 1 };
00044   enum { V_TOP = 0 };
00045   enum { V_CENTER = 1 };
00046   enum { V_BOTTOM = 2 };
00047 
00048   typedef boost::shared_ptr< ::rve_msgs::TextAlignment_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::rve_msgs::TextAlignment_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct TextAlignment
00052 typedef  ::rve_msgs::TextAlignment_<std::allocator<void> > TextAlignment;
00053 
00054 typedef boost::shared_ptr< ::rve_msgs::TextAlignment> TextAlignmentPtr;
00055 typedef boost::shared_ptr< ::rve_msgs::TextAlignment const> TextAlignmentConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::rve_msgs::TextAlignment_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::rve_msgs::TextAlignment_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace rve_msgs
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::TextAlignment_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::TextAlignment_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::rve_msgs::TextAlignment_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "63cbfa496dfe0c00b2baca61b9d11f86";
00077   }
00078 
00079   static const char* value(const  ::rve_msgs::TextAlignment_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x63cbfa496dfe0c00ULL;
00081   static const uint64_t static_value2 = 0xb2baca61b9d11f86ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::rve_msgs::TextAlignment_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "rve_msgs/TextAlignment";
00089   }
00090 
00091   static const char* value(const  ::rve_msgs::TextAlignment_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::rve_msgs::TextAlignment_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "uint8 H_LEFT = 0\n\
00099 uint8 H_CENTER = 1\n\
00100 \n\
00101 uint8 horizontal\n\
00102 \n\
00103 uint8 V_TOP = 0\n\
00104 uint8 V_CENTER = 1\n\
00105 uint8 V_BOTTOM = 2\n\
00106 \n\
00107 uint8 vertical\n\
00108 \n\
00109 ";
00110   }
00111 
00112   static const char* value(const  ::rve_msgs::TextAlignment_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator> struct IsFixedSize< ::rve_msgs::TextAlignment_<ContainerAllocator> > : public TrueType {};
00116 } // namespace message_traits
00117 } // namespace ros
00118 
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123 
00124 template<class ContainerAllocator> struct Serializer< ::rve_msgs::TextAlignment_<ContainerAllocator> >
00125 {
00126   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127   {
00128     stream.next(m.horizontal);
00129     stream.next(m.vertical);
00130   }
00131 
00132   ROS_DECLARE_ALLINONE_SERIALIZER;
00133 }; // struct TextAlignment_
00134 } // namespace serialization
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace message_operations
00140 {
00141 
00142 template<class ContainerAllocator>
00143 struct Printer< ::rve_msgs::TextAlignment_<ContainerAllocator> >
00144 {
00145   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::rve_msgs::TextAlignment_<ContainerAllocator> & v) 
00146   {
00147     s << indent << "horizontal: ";
00148     Printer<uint8_t>::stream(s, indent + "  ", v.horizontal);
00149     s << indent << "vertical: ";
00150     Printer<uint8_t>::stream(s, indent + "  ", v.vertical);
00151   }
00152 };
00153 
00154 
00155 } // namespace message_operations
00156 } // namespace ros
00157 
00158 #endif // RVE_MSGS_MESSAGE_TEXTALIGNMENT_H
00159 


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