// Generated by gencpp from file common_msgs/MapInfo.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_MAPINFO_H #define COMMON_MSGS_MESSAGE_MAPINFO_H #include #include #include #include #include #include #include namespace common_msgs { template struct MapInfo_ { typedef MapInfo_ Type; MapInfo_() : build_id() , buildName() , floor(0) , floorId() , mapId() , mapName() { } MapInfo_(const ContainerAllocator& _alloc) : build_id(_alloc) , buildName(_alloc) , floor(0) , floorId(_alloc) , mapId(_alloc) , mapName(_alloc) { (void)_alloc; } typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _build_id_type; _build_id_type build_id; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _buildName_type; _buildName_type buildName; typedef int16_t _floor_type; _floor_type floor; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _floorId_type; _floorId_type floorId; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _mapId_type; _mapId_type mapId; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _mapName_type; _mapName_type mapName; typedef boost::shared_ptr< ::common_msgs::MapInfo_ > Ptr; typedef boost::shared_ptr< ::common_msgs::MapInfo_ const> ConstPtr; }; // struct MapInfo_ typedef ::common_msgs::MapInfo_ > MapInfo; typedef boost::shared_ptr< ::common_msgs::MapInfo > MapInfoPtr; typedef boost::shared_ptr< ::common_msgs::MapInfo const> MapInfoConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::MapInfo_ & v) { ros::message_operations::Printer< ::common_msgs::MapInfo_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::MapInfo_ & lhs, const ::common_msgs::MapInfo_ & rhs) { return lhs.build_id == rhs.build_id && lhs.buildName == rhs.buildName && lhs.floor == rhs.floor && lhs.floorId == rhs.floorId && lhs.mapId == rhs.mapId && lhs.mapName == rhs.mapName; } template bool operator!=(const ::common_msgs::MapInfo_ & lhs, const ::common_msgs::MapInfo_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::MapInfo_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::MapInfo_ const> : FalseType { }; template struct IsMessage< ::common_msgs::MapInfo_ > : TrueType { }; template struct IsMessage< ::common_msgs::MapInfo_ const> : TrueType { }; template struct HasHeader< ::common_msgs::MapInfo_ > : FalseType { }; template struct HasHeader< ::common_msgs::MapInfo_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::MapInfo_ > { static const char* value() { return "a6be7d2e0a2fd95eb885cb90743c156c"; } static const char* value(const ::common_msgs::MapInfo_&) { return value(); } static const uint64_t static_value1 = 0xa6be7d2e0a2fd95eULL; static const uint64_t static_value2 = 0xb885cb90743c156cULL; }; template struct DataType< ::common_msgs::MapInfo_ > { static const char* value() { return "common_msgs/MapInfo"; } static const char* value(const ::common_msgs::MapInfo_&) { return value(); } }; template struct Definition< ::common_msgs::MapInfo_ > { static const char* value() { return "#建筑id\n" "string build_id\n" "#建筑名\n" "string buildName\n" "#楼层\n" "int16 floor\n" "#楼层id\n" "string floorId\n" "#地图id\n" "string mapId\n" "#地图名\n" "string mapName\n" ; } static const char* value(const ::common_msgs::MapInfo_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::MapInfo_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.build_id); stream.next(m.buildName); stream.next(m.floor); stream.next(m.floorId); stream.next(m.mapId); stream.next(m.mapName); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct MapInfo_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::MapInfo_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::MapInfo_& v) { s << indent << "build_id: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.build_id); s << indent << "buildName: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.buildName); s << indent << "floor: "; Printer::stream(s, indent + " ", v.floor); s << indent << "floorId: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.floorId); s << indent << "mapId: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.mapId); s << indent << "mapName: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.mapName); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_MAPINFO_H