Dependency.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/stanford_parser_msgs/msg/Dependency.msg */
00002 #ifndef STANFORD_PARSER_MSGS_MESSAGE_DEPENDENCY_H
00003 #define STANFORD_PARSER_MSGS_MESSAGE_DEPENDENCY_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 stanford_parser_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Dependency_ {
00022   typedef Dependency_<ContainerAllocator> Type;
00023 
00024   Dependency_()
00025   : relation()
00026   , governor_index(0)
00027   , dependent_index(0)
00028   {
00029   }
00030 
00031   Dependency_(const ContainerAllocator& _alloc)
00032   : relation(_alloc)
00033   , governor_index(0)
00034   , dependent_index(0)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _relation_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  relation;
00040 
00041   typedef int32_t _governor_index_type;
00042   int32_t governor_index;
00043 
00044   typedef int32_t _dependent_index_type;
00045   int32_t dependent_index;
00046 
00047 
00048   typedef boost::shared_ptr< ::stanford_parser_msgs::Dependency_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::stanford_parser_msgs::Dependency_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct Dependency
00052 typedef  ::stanford_parser_msgs::Dependency_<std::allocator<void> > Dependency;
00053 
00054 typedef boost::shared_ptr< ::stanford_parser_msgs::Dependency> DependencyPtr;
00055 typedef boost::shared_ptr< ::stanford_parser_msgs::Dependency const> DependencyConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::stanford_parser_msgs::Dependency_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::stanford_parser_msgs::Dependency_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace stanford_parser_msgs
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::stanford_parser_msgs::Dependency_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::stanford_parser_msgs::Dependency_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::stanford_parser_msgs::Dependency_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "cdc828bde2cbc087845b7c347e45a5ee";
00077   }
00078 
00079   static const char* value(const  ::stanford_parser_msgs::Dependency_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0xcdc828bde2cbc087ULL;
00081   static const uint64_t static_value2 = 0x845b7c347e45a5eeULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::stanford_parser_msgs::Dependency_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "stanford_parser_msgs/Dependency";
00089   }
00090 
00091   static const char* value(const  ::stanford_parser_msgs::Dependency_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::stanford_parser_msgs::Dependency_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "string relation\n\
00099 int32 governor_index\n\
00100 int32 dependent_index\n\
00101 \n\
00102 # TODO: put all the relations here\n\
00103 ";
00104   }
00105 
00106   static const char* value(const  ::stanford_parser_msgs::Dependency_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 } // namespace message_traits
00110 } // namespace ros
00111 
00112 namespace ros
00113 {
00114 namespace serialization
00115 {
00116 
00117 template<class ContainerAllocator> struct Serializer< ::stanford_parser_msgs::Dependency_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121     stream.next(m.relation);
00122     stream.next(m.governor_index);
00123     stream.next(m.dependent_index);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct Dependency_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::stanford_parser_msgs::Dependency_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::stanford_parser_msgs::Dependency_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "relation: ";
00142     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.relation);
00143     s << indent << "governor_index: ";
00144     Printer<int32_t>::stream(s, indent + "  ", v.governor_index);
00145     s << indent << "dependent_index: ";
00146     Printer<int32_t>::stream(s, indent + "  ", v.dependent_index);
00147   }
00148 };
00149 
00150 
00151 } // namespace message_operations
00152 } // namespace ros
00153 
00154 #endif // STANFORD_PARSER_MSGS_MESSAGE_DEPENDENCY_H
00155 


stanford_parser_msgs
Author(s): Brian Thomas
autogenerated on Fri Dec 6 2013 20:37:07