FilledLexicalUnit.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roboframenet/doc_stacks/2013-12-06_20-27-09.260049/roboframenet/roboframenet_msgs/msg/FilledLexicalUnit.msg */
00002 #ifndef ROBOFRAMENET_MSGS_MESSAGE_FILLEDLEXICALUNIT_H
00003 #define ROBOFRAMENET_MSGS_MESSAGE_FILLEDLEXICALUNIT_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 "roboframenet_msgs/FilledFrameElement.h"
00018 
00019 namespace roboframenet_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct FilledLexicalUnit_ {
00023   typedef FilledLexicalUnit_<ContainerAllocator> Type;
00024 
00025   FilledLexicalUnit_()
00026   : frame_name()
00027   , verb()
00028   , frame_elements()
00029   {
00030   }
00031 
00032   FilledLexicalUnit_(const ContainerAllocator& _alloc)
00033   : frame_name(_alloc)
00034   , verb(_alloc)
00035   , frame_elements(_alloc)
00036   {
00037   }
00038 
00039   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _frame_name_type;
00040   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  frame_name;
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _verb_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  verb;
00044 
00045   typedef std::vector< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> >::other >  _frame_elements_type;
00046   std::vector< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> >::other >  frame_elements;
00047 
00048 
00049   typedef boost::shared_ptr< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct FilledLexicalUnit
00053 typedef  ::roboframenet_msgs::FilledLexicalUnit_<std::allocator<void> > FilledLexicalUnit;
00054 
00055 typedef boost::shared_ptr< ::roboframenet_msgs::FilledLexicalUnit> FilledLexicalUnitPtr;
00056 typedef boost::shared_ptr< ::roboframenet_msgs::FilledLexicalUnit const> FilledLexicalUnitConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace roboframenet_msgs
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "6a8cb181df1bc63b3988099eee52c247";
00078   }
00079 
00080   static const char* value(const  ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x6a8cb181df1bc63bULL;
00082   static const uint64_t static_value2 = 0x3988099eee52c247ULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "roboframenet_msgs/FilledLexicalUnit";
00090   }
00091 
00092   static const char* value(const  ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "string frame_name\n\
00100 string verb\n\
00101 FilledFrameElement[] frame_elements\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: roboframenet_msgs/FilledFrameElement\n\
00105 string name   # eg object, recipient\n\
00106 string argument   # eg apple, bob\n\
00107 \n\
00108 ";
00109   }
00110 
00111   static const char* value(const  ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 } // namespace message_traits
00115 } // namespace ros
00116 
00117 namespace ros
00118 {
00119 namespace serialization
00120 {
00121 
00122 template<class ContainerAllocator> struct Serializer< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> >
00123 {
00124   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00125   {
00126     stream.next(m.frame_name);
00127     stream.next(m.verb);
00128     stream.next(m.frame_elements);
00129   }
00130 
00131   ROS_DECLARE_ALLINONE_SERIALIZER;
00132 }; // struct FilledLexicalUnit_
00133 } // namespace serialization
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140 
00141 template<class ContainerAllocator>
00142 struct Printer< ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> >
00143 {
00144   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::roboframenet_msgs::FilledLexicalUnit_<ContainerAllocator> & v) 
00145   {
00146     s << indent << "frame_name: ";
00147     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.frame_name);
00148     s << indent << "verb: ";
00149     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.verb);
00150     s << indent << "frame_elements[]" << std::endl;
00151     for (size_t i = 0; i < v.frame_elements.size(); ++i)
00152     {
00153       s << indent << "  frame_elements[" << i << "]: ";
00154       s << std::endl;
00155       s << indent;
00156       Printer< ::roboframenet_msgs::FilledFrameElement_<ContainerAllocator> >::stream(s, indent + "    ", v.frame_elements[i]);
00157     }
00158   }
00159 };
00160 
00161 
00162 } // namespace message_operations
00163 } // namespace ros
00164 
00165 #endif // ROBOFRAMENET_MSGS_MESSAGE_FILLEDLEXICALUNIT_H
00166 


roboframenet_msgs
Author(s): Brian Thomas
autogenerated on Fri Dec 6 2013 20:32:43