00001
00002 #ifndef SENSOR_MSGS_BOOST_SERIALIZATION_POINTFIELD_H
00003 #define SENSOR_MSGS_BOOST_SERIALIZATION_POINTFIELD_H
00004
00005 #include <boost/serialization/serialization.hpp>
00006 #include <boost/serialization/nvp.hpp>
00007 #include <sensor_msgs/PointField.h>
00008
00009 namespace boost
00010 {
00011 namespace serialization
00012 {
00013
00014 template<class Archive, class ContainerAllocator>
00015 void serialize(Archive& a, ::sensor_msgs::PointField_<ContainerAllocator> & m, unsigned int)
00016 {
00017 a & make_nvp("name",m.name);
00018 a & make_nvp("offset",m.offset);
00019 a & make_nvp("datatype",m.datatype);
00020 a & make_nvp("count",m.count);
00021 }
00022
00023 }
00024 }
00025
00026 #endif // SENSOR_MSGS_BOOST_SERIALIZATION_POINTFIELD_H
00027