PDDLAction.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/pddl/pddl_msgs/msg/PDDLAction.msg */
00002 #ifndef PDDL_MSGS_MESSAGE_PDDLACTION_H
00003 #define PDDL_MSGS_MESSAGE_PDDLACTION_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 pddl_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct PDDLAction_ {
00022   typedef PDDLAction_<ContainerAllocator> Type;
00023 
00024   PDDLAction_()
00025   : name()
00026   , parameters()
00027   , precondition()
00028   , effect()
00029   , on_condition()
00030   {
00031   }
00032 
00033   PDDLAction_(const ContainerAllocator& _alloc)
00034   : name(_alloc)
00035   , parameters(_alloc)
00036   , precondition(_alloc)
00037   , effect(_alloc)
00038   , on_condition(_alloc)
00039   {
00040   }
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00044 
00045   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _parameters_type;
00046   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  parameters;
00047 
00048   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _precondition_type;
00049   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  precondition;
00050 
00051   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _effect_type;
00052   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  effect;
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _on_condition_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  on_condition;
00056 
00057 
00058   typedef boost::shared_ptr< ::pddl_msgs::PDDLAction_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::pddl_msgs::PDDLAction_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct PDDLAction
00062 typedef  ::pddl_msgs::PDDLAction_<std::allocator<void> > PDDLAction;
00063 
00064 typedef boost::shared_ptr< ::pddl_msgs::PDDLAction> PDDLActionPtr;
00065 typedef boost::shared_ptr< ::pddl_msgs::PDDLAction const> PDDLActionConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::pddl_msgs::PDDLAction_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::pddl_msgs::PDDLAction_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace pddl_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::pddl_msgs::PDDLAction_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::pddl_msgs::PDDLAction_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::pddl_msgs::PDDLAction_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "bfaa943a9c9df1ee5bb56495ada2cdd8";
00087   }
00088 
00089   static const char* value(const  ::pddl_msgs::PDDLAction_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xbfaa943a9c9df1eeULL;
00091   static const uint64_t static_value2 = 0x5bb56495ada2cdd8ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::pddl_msgs::PDDLAction_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "pddl_msgs/PDDLAction";
00099   }
00100 
00101   static const char* value(const  ::pddl_msgs::PDDLAction_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::pddl_msgs::PDDLAction_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "string name\n\
00109 # write String in S expression like \"(and foo var)\"\n\
00110 string parameters\n\
00111 string precondition\n\
00112 string effect\n\
00113 string on_condition\n\
00114 \n\
00115 ";
00116   }
00117 
00118   static const char* value(const  ::pddl_msgs::PDDLAction_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 } // namespace message_traits
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace serialization
00127 {
00128 
00129 template<class ContainerAllocator> struct Serializer< ::pddl_msgs::PDDLAction_<ContainerAllocator> >
00130 {
00131   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132   {
00133     stream.next(m.name);
00134     stream.next(m.parameters);
00135     stream.next(m.precondition);
00136     stream.next(m.effect);
00137     stream.next(m.on_condition);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct PDDLAction_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::pddl_msgs::PDDLAction_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pddl_msgs::PDDLAction_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "name: ";
00156     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00157     s << indent << "parameters: ";
00158     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.parameters);
00159     s << indent << "precondition: ";
00160     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.precondition);
00161     s << indent << "effect: ";
00162     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.effect);
00163     s << indent << "on_condition: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.on_condition);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // PDDL_MSGS_MESSAGE_PDDLACTION_H
00173 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


pddl_msgs
Author(s): Ryohei Ueda (ueda@jsk.t.u-tokyo.ac.jp)
autogenerated on Sat Mar 23 2013 23:39:14