PropertyTuple.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-srs_public/doc_stacks/2014-01-05_11-35-06.523601/srs_public/srs_knowledge/msg/PropertyTuple.msg */
00002 #ifndef SRS_KNOWLEDGE_MESSAGE_PROPERTYTUPLE_H
00003 #define SRS_KNOWLEDGE_MESSAGE_PROPERTYTUPLE_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 srs_knowledge
00019 {
00020 template <class ContainerAllocator>
00021 struct PropertyTuple_ {
00022   typedef PropertyTuple_<ContainerAllocator> Type;
00023 
00024   PropertyTuple_()
00025   : propertyName()
00026   , dataType()
00027   , value()
00028   , propertyURI()
00029   {
00030   }
00031 
00032   PropertyTuple_(const ContainerAllocator& _alloc)
00033   : propertyName(_alloc)
00034   , dataType(_alloc)
00035   , value(_alloc)
00036   , propertyURI(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _propertyName_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  propertyName;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _dataType_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  dataType;
00045 
00046   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _value_type;
00047   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  value;
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _propertyURI_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  propertyURI;
00051 
00052 
00053   typedef boost::shared_ptr< ::srs_knowledge::PropertyTuple_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::srs_knowledge::PropertyTuple_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct PropertyTuple
00057 typedef  ::srs_knowledge::PropertyTuple_<std::allocator<void> > PropertyTuple;
00058 
00059 typedef boost::shared_ptr< ::srs_knowledge::PropertyTuple> PropertyTuplePtr;
00060 typedef boost::shared_ptr< ::srs_knowledge::PropertyTuple const> PropertyTupleConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::srs_knowledge::PropertyTuple_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::srs_knowledge::PropertyTuple_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace srs_knowledge
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::PropertyTuple_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::PropertyTuple_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::srs_knowledge::PropertyTuple_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "91ad9ce27eca861d92b46a6fbf01654d";
00082   }
00083 
00084   static const char* value(const  ::srs_knowledge::PropertyTuple_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x91ad9ce27eca861dULL;
00086   static const uint64_t static_value2 = 0x92b46a6fbf01654dULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::srs_knowledge::PropertyTuple_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "srs_knowledge/PropertyTuple";
00094   }
00095 
00096   static const char* value(const  ::srs_knowledge::PropertyTuple_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::srs_knowledge::PropertyTuple_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "string propertyName\n\
00104 string dataType   # float, int32, string, Literal etc\n\
00105 string value\n\
00106 string propertyURI\n\
00107 \n\
00108 \n\
00109 ";
00110   }
00111 
00112   static const char* value(const  ::srs_knowledge::PropertyTuple_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 } // namespace message_traits
00116 } // namespace ros
00117 
00118 namespace ros
00119 {
00120 namespace serialization
00121 {
00122 
00123 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::PropertyTuple_<ContainerAllocator> >
00124 {
00125   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00126   {
00127     stream.next(m.propertyName);
00128     stream.next(m.dataType);
00129     stream.next(m.value);
00130     stream.next(m.propertyURI);
00131   }
00132 
00133   ROS_DECLARE_ALLINONE_SERIALIZER;
00134 }; // struct PropertyTuple_
00135 } // namespace serialization
00136 } // namespace ros
00137 
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142 
00143 template<class ContainerAllocator>
00144 struct Printer< ::srs_knowledge::PropertyTuple_<ContainerAllocator> >
00145 {
00146   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_knowledge::PropertyTuple_<ContainerAllocator> & v) 
00147   {
00148     s << indent << "propertyName: ";
00149     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.propertyName);
00150     s << indent << "dataType: ";
00151     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.dataType);
00152     s << indent << "value: ";
00153     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.value);
00154     s << indent << "propertyURI: ";
00155     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.propertyURI);
00156   }
00157 };
00158 
00159 
00160 } // namespace message_operations
00161 } // namespace ros
00162 
00163 #endif // SRS_KNOWLEDGE_MESSAGE_PROPERTYTUPLE_H
00164 


srs_knowledge
Author(s): Ze Ji
autogenerated on Sun Jan 5 2014 12:03:28