// Generated by gencpp from file waterplus_map_tools/GetNumOfWaypointsResponse.msg // DO NOT EDIT! #ifndef WATERPLUS_MAP_TOOLS_MESSAGE_GETNUMOFWAYPOINTSRESPONSE_H #define WATERPLUS_MAP_TOOLS_MESSAGE_GETNUMOFWAYPOINTSRESPONSE_H #include #include #include #include #include #include #include namespace waterplus_map_tools { template struct GetNumOfWaypointsResponse_ { typedef GetNumOfWaypointsResponse_ Type; GetNumOfWaypointsResponse_() : num(0) { } GetNumOfWaypointsResponse_(const ContainerAllocator& _alloc) : num(0) { (void)_alloc; } typedef int32_t _num_type; _num_type num; typedef boost::shared_ptr< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > Ptr; typedef boost::shared_ptr< ::waterplus_map_tools::GetNumOfWaypointsResponse_ const> ConstPtr; }; // struct GetNumOfWaypointsResponse_ typedef ::waterplus_map_tools::GetNumOfWaypointsResponse_ > GetNumOfWaypointsResponse; typedef boost::shared_ptr< ::waterplus_map_tools::GetNumOfWaypointsResponse > GetNumOfWaypointsResponsePtr; typedef boost::shared_ptr< ::waterplus_map_tools::GetNumOfWaypointsResponse const> GetNumOfWaypointsResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::waterplus_map_tools::GetNumOfWaypointsResponse_ & v) { ros::message_operations::Printer< ::waterplus_map_tools::GetNumOfWaypointsResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::waterplus_map_tools::GetNumOfWaypointsResponse_ & lhs, const ::waterplus_map_tools::GetNumOfWaypointsResponse_ & rhs) { return lhs.num == rhs.num; } template bool operator!=(const ::waterplus_map_tools::GetNumOfWaypointsResponse_ & lhs, const ::waterplus_map_tools::GetNumOfWaypointsResponse_ & rhs) { return !(lhs == rhs); } } // namespace waterplus_map_tools namespace ros { namespace message_traits { template struct IsMessage< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > : TrueType { }; template struct IsMessage< ::waterplus_map_tools::GetNumOfWaypointsResponse_ const> : TrueType { }; template struct IsFixedSize< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > : TrueType { }; template struct IsFixedSize< ::waterplus_map_tools::GetNumOfWaypointsResponse_ const> : TrueType { }; template struct HasHeader< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > : FalseType { }; template struct HasHeader< ::waterplus_map_tools::GetNumOfWaypointsResponse_ const> : FalseType { }; template struct MD5Sum< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > { static const char* value() { return "54b3c80efd6fae6e6ffff8a4b9facd69"; } static const char* value(const ::waterplus_map_tools::GetNumOfWaypointsResponse_&) { return value(); } static const uint64_t static_value1 = 0x54b3c80efd6fae6eULL; static const uint64_t static_value2 = 0x6ffff8a4b9facd69ULL; }; template struct DataType< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > { static const char* value() { return "waterplus_map_tools/GetNumOfWaypointsResponse"; } static const char* value(const ::waterplus_map_tools::GetNumOfWaypointsResponse_&) { return value(); } }; template struct Definition< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > { static const char* value() { return "int32 num\n" ; } static const char* value(const ::waterplus_map_tools::GetNumOfWaypointsResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.num); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct GetNumOfWaypointsResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::waterplus_map_tools::GetNumOfWaypointsResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::waterplus_map_tools::GetNumOfWaypointsResponse_& v) { s << indent << "num: "; Printer::stream(s, indent + " ", v.num); } }; } // namespace message_operations } // namespace ros #endif // WATERPLUS_MAP_TOOLS_MESSAGE_GETNUMOFWAYPOINTSRESPONSE_H