00001
00002 #ifndef TUG_IST_DIAGNOSIS_MSGS_MESSAGE_SYSTEMMODELRESULT_H
00003 #define TUG_IST_DIAGNOSIS_MSGS_MESSAGE_SYSTEMMODELRESULT_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 tug_ist_diagnosis_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct SystemModelResult_ {
00022 typedef SystemModelResult_<ContainerAllocator> Type;
00023
00024 SystemModelResult_()
00025 : ab()
00026 , nab()
00027 , neg_prefix()
00028 , rules()
00029 , props()
00030 {
00031 }
00032
00033 SystemModelResult_(const ContainerAllocator& _alloc)
00034 : ab(_alloc)
00035 , nab(_alloc)
00036 , neg_prefix(_alloc)
00037 , rules(_alloc)
00038 , props(_alloc)
00039 {
00040 }
00041
00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _ab_type;
00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ab;
00044
00045 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _nab_type;
00046 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > nab;
00047
00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _neg_prefix_type;
00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > neg_prefix;
00050
00051 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _rules_type;
00052 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > rules;
00053
00054 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _props_type;
00055 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > props;
00056
00057
00058 typedef boost::shared_ptr< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::tug_ist_diagnosis_msgs::SystemModelResult_<std::allocator<void> > SystemModelResult;
00063
00064 typedef boost::shared_ptr< ::tug_ist_diagnosis_msgs::SystemModelResult> SystemModelResultPtr;
00065 typedef boost::shared_ptr< ::tug_ist_diagnosis_msgs::SystemModelResult const> SystemModelResultConstPtr;
00066
00067
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> & v)
00070 {
00071 ros::message_operations::Printer< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> >::stream(s, "", v);
00072 return s;}
00073
00074 }
00075
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> > {
00084 static const char* value()
00085 {
00086 return "121415ea052b88507de7cc50addabfa0";
00087 }
00088
00089 static const char* value(const ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> &) { return value(); }
00090 static const uint64_t static_value1 = 0x121415ea052b8850ULL;
00091 static const uint64_t static_value2 = 0x7de7cc50addabfa0ULL;
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct DataType< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "tug_ist_diagnosis_msgs/SystemModelResult";
00099 }
00100
00101 static const char* value(const ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> &) { return value(); }
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct Definition< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00109 #result definition\n\
00110 string ab\n\
00111 string nab\n\
00112 string neg_prefix\n\
00113 string[] rules\n\
00114 string[] props\n\
00115 \n\
00116 ";
00117 }
00118
00119 static const char* value(const ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 }
00123 }
00124
00125 namespace ros
00126 {
00127 namespace serialization
00128 {
00129
00130 template<class ContainerAllocator> struct Serializer< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> >
00131 {
00132 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00133 {
00134 stream.next(m.ab);
00135 stream.next(m.nab);
00136 stream.next(m.neg_prefix);
00137 stream.next(m.rules);
00138 stream.next(m.props);
00139 }
00140
00141 ROS_DECLARE_ALLINONE_SERIALIZER;
00142 };
00143 }
00144 }
00145
00146 namespace ros
00147 {
00148 namespace message_operations
00149 {
00150
00151 template<class ContainerAllocator>
00152 struct Printer< ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> >
00153 {
00154 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tug_ist_diagnosis_msgs::SystemModelResult_<ContainerAllocator> & v)
00155 {
00156 s << indent << "ab: ";
00157 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.ab);
00158 s << indent << "nab: ";
00159 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.nab);
00160 s << indent << "neg_prefix: ";
00161 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.neg_prefix);
00162 s << indent << "rules[]" << std::endl;
00163 for (size_t i = 0; i < v.rules.size(); ++i)
00164 {
00165 s << indent << " rules[" << i << "]: ";
00166 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.rules[i]);
00167 }
00168 s << indent << "props[]" << std::endl;
00169 for (size_t i = 0; i < v.props.size(); ++i)
00170 {
00171 s << indent << " props[" << i << "]: ";
00172 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.props[i]);
00173 }
00174 }
00175 };
00176
00177
00178 }
00179 }
00180
00181 #endif // TUG_IST_DIAGNOSIS_MSGS_MESSAGE_SYSTEMMODELRESULT_H
00182