// 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 <string>
#include <vector>
#include <memory>

#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>


namespace common_msgs
{
template <class ContainerAllocator>
struct MapInfo_
{
  typedef MapInfo_<ContainerAllocator> 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<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _build_id_type;
  _build_id_type build_id;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _buildName_type;
  _buildName_type buildName;

   typedef int16_t _floor_type;
  _floor_type floor;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _floorId_type;
  _floorId_type floorId;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _mapId_type;
  _mapId_type mapId;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _mapName_type;
  _mapName_type mapName;





  typedef boost::shared_ptr< ::common_msgs::MapInfo_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::common_msgs::MapInfo_<ContainerAllocator> const> ConstPtr;

}; // struct MapInfo_

typedef ::common_msgs::MapInfo_<std::allocator<void> > 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<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::common_msgs::MapInfo_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::common_msgs::MapInfo_<ContainerAllocator> >::stream(s, "", v);
return s;
}


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::common_msgs::MapInfo_<ContainerAllocator1> & lhs, const ::common_msgs::MapInfo_<ContainerAllocator2> & 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<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::common_msgs::MapInfo_<ContainerAllocator1> & lhs, const ::common_msgs::MapInfo_<ContainerAllocator2> & rhs)
{
  return !(lhs == rhs);
}


} // namespace common_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsFixedSize< ::common_msgs::MapInfo_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::common_msgs::MapInfo_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct IsMessage< ::common_msgs::MapInfo_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::common_msgs::MapInfo_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::common_msgs::MapInfo_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::common_msgs::MapInfo_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::common_msgs::MapInfo_<ContainerAllocator> >
{
  static const char* value()
  {
    return "a6be7d2e0a2fd95eb885cb90743c156c";
  }

  static const char* value(const ::common_msgs::MapInfo_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xa6be7d2e0a2fd95eULL;
  static const uint64_t static_value2 = 0xb885cb90743c156cULL;
};

template<class ContainerAllocator>
struct DataType< ::common_msgs::MapInfo_<ContainerAllocator> >
{
  static const char* value()
  {
    return "common_msgs/MapInfo";
  }

  static const char* value(const ::common_msgs::MapInfo_<ContainerAllocator>&) { return value(); }
};

template<class ContainerAllocator>
struct Definition< ::common_msgs::MapInfo_<ContainerAllocator> >
{
  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_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::common_msgs::MapInfo_<ContainerAllocator> >
  {
    template<typename Stream, typename T> 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<class ContainerAllocator>
struct Printer< ::common_msgs::MapInfo_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::MapInfo_<ContainerAllocator>& v)
  {
    s << indent << "build_id: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.build_id);
    s << indent << "buildName: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.buildName);
    s << indent << "floor: ";
    Printer<int16_t>::stream(s, indent + "  ", v.floor);
    s << indent << "floorId: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.floorId);
    s << indent << "mapId: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.mapId);
    s << indent << "mapName: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.mapName);
  }
};

} // namespace message_operations
} // namespace ros

#endif // COMMON_MSGS_MESSAGE_MAPINFO_H