// Generated by gencpp from file std_msgs/MultiArrayDimension.msg // DO NOT EDIT! #ifndef STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H #define STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H #include #include #include #include #include #include namespace std_msgs { template struct MultiArrayDimension_ { typedef MultiArrayDimension_ Type; MultiArrayDimension_() : label() , size(0) , stride(0) { } MultiArrayDimension_(const ContainerAllocator& _alloc) : label(_alloc) , size(0) , stride(0) { (void)_alloc; } typedef std::basic_string, typename ContainerAllocator::template rebind::other > _label_type; _label_type label; typedef uint32_t _size_type; _size_type size; typedef uint32_t _stride_type; _stride_type stride; typedef boost::shared_ptr< ::std_msgs::MultiArrayDimension_ > Ptr; typedef boost::shared_ptr< ::std_msgs::MultiArrayDimension_ const> ConstPtr; }; // struct MultiArrayDimension_ typedef ::std_msgs::MultiArrayDimension_ > MultiArrayDimension; typedef boost::shared_ptr< ::std_msgs::MultiArrayDimension > MultiArrayDimensionPtr; typedef boost::shared_ptr< ::std_msgs::MultiArrayDimension const> MultiArrayDimensionConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::std_msgs::MultiArrayDimension_ & v) { ros::message_operations::Printer< ::std_msgs::MultiArrayDimension_ >::stream(s, "", v); return s; } template bool operator==(const ::std_msgs::MultiArrayDimension_ & lhs, const ::std_msgs::MultiArrayDimension_ & rhs) { return lhs.label == rhs.label && lhs.size == rhs.size && lhs.stride == rhs.stride; } template bool operator!=(const ::std_msgs::MultiArrayDimension_ & lhs, const ::std_msgs::MultiArrayDimension_ & rhs) { return !(lhs == rhs); } } // namespace std_msgs namespace ros { namespace message_traits { template struct IsMessage< ::std_msgs::MultiArrayDimension_ > : TrueType { }; template struct IsMessage< ::std_msgs::MultiArrayDimension_ const> : TrueType { }; template struct IsFixedSize< ::std_msgs::MultiArrayDimension_ > : FalseType { }; template struct IsFixedSize< ::std_msgs::MultiArrayDimension_ const> : FalseType { }; template struct HasHeader< ::std_msgs::MultiArrayDimension_ > : FalseType { }; template struct HasHeader< ::std_msgs::MultiArrayDimension_ const> : FalseType { }; template struct MD5Sum< ::std_msgs::MultiArrayDimension_ > { static const char* value() { return "4cd0c83a8683deae40ecdac60e53bfa8"; } static const char* value(const ::std_msgs::MultiArrayDimension_&) { return value(); } static const uint64_t static_value1 = 0x4cd0c83a8683deaeULL; static const uint64_t static_value2 = 0x40ecdac60e53bfa8ULL; }; template struct DataType< ::std_msgs::MultiArrayDimension_ > { static const char* value() { return "std_msgs/MultiArrayDimension"; } static const char* value(const ::std_msgs::MultiArrayDimension_&) { return value(); } }; template struct Definition< ::std_msgs::MultiArrayDimension_ > { static const char* value() { return "string label # label of given dimension\n" "uint32 size # size of given dimension (in type units)\n" "uint32 stride # stride of given dimension\n" ; } static const char* value(const ::std_msgs::MultiArrayDimension_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::std_msgs::MultiArrayDimension_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.label); stream.next(m.size); stream.next(m.stride); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct MultiArrayDimension_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::std_msgs::MultiArrayDimension_ > { template static void stream(Stream& s, const std::string& indent, const ::std_msgs::MultiArrayDimension_& v) { s << indent << "label: "; Printer, typename ContainerAllocator::template rebind::other > >::stream(s, indent + " ", v.label); s << indent << "size: "; Printer::stream(s, indent + " ", v.size); s << indent << "stride: "; Printer::stream(s, indent + " ", v.stride); } }; } // namespace message_operations } // namespace ros #endif // STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H