// Generated by gencpp from file vqimg/component_center.msg
// DO NOT EDIT!


#ifndef VQIMG_MESSAGE_COMPONENT_CENTER_H
#define VQIMG_MESSAGE_COMPONENT_CENTER_H


#include <string>
#include <vector>
#include <map>

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


namespace vqimg
{
template <class ContainerAllocator>
struct component_center_
{
  typedef component_center_<ContainerAllocator> Type;

  component_center_()
    : label(0)
    , nb_vertex(0)
    , x(0.0)
    , y(0.0)  {
    }
  component_center_(const ContainerAllocator& _alloc)
    : label(0)
    , nb_vertex(0)
    , x(0.0)
    , y(0.0)  {
  (void)_alloc;
    }



   typedef int64_t _label_type;
  _label_type label;

   typedef int64_t _nb_vertex_type;
  _nb_vertex_type nb_vertex;

   typedef double _x_type;
  _x_type x;

   typedef double _y_type;
  _y_type y;





  typedef boost::shared_ptr< ::vqimg::component_center_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::vqimg::component_center_<ContainerAllocator> const> ConstPtr;

}; // struct component_center_

typedef ::vqimg::component_center_<std::allocator<void> > component_center;

typedef boost::shared_ptr< ::vqimg::component_center > component_centerPtr;
typedef boost::shared_ptr< ::vqimg::component_center const> component_centerConstPtr;

// constants requiring out of line definition



template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::vqimg::component_center_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::vqimg::component_center_<ContainerAllocator> >::stream(s, "", v);
return s;
}

} // namespace vqimg

namespace ros
{
namespace message_traits
{



// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/melodic/share/std_msgs/cmake/../msg'], 'vqimg': ['/home/klafyvel/Documents/supelec/2A/projet/workspace/src/vqimg/msg']}

// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']




template <class ContainerAllocator>
struct IsFixedSize< ::vqimg::component_center_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::vqimg::component_center_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::vqimg::component_center_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::vqimg::component_center_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::vqimg::component_center_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::vqimg::component_center_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::vqimg::component_center_<ContainerAllocator> >
{
  static const char* value()
  {
    return "da1879b15a6566f498d1395c2d529084";
  }

  static const char* value(const ::vqimg::component_center_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xda1879b15a6566f4ULL;
  static const uint64_t static_value2 = 0x98d1395c2d529084ULL;
};

template<class ContainerAllocator>
struct DataType< ::vqimg::component_center_<ContainerAllocator> >
{
  static const char* value()
  {
    return "vqimg/component_center";
  }

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

template<class ContainerAllocator>
struct Definition< ::vqimg::component_center_<ContainerAllocator> >
{
  static const char* value()
  {
    return "int64   label\n\
int64   nb_vertex\n\
float64 x\n\
float64 y\n\
";
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::vqimg::component_center_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.label);
      stream.next(m.nb_vertex);
      stream.next(m.x);
      stream.next(m.y);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct component_center_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::vqimg::component_center_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::vqimg::component_center_<ContainerAllocator>& v)
  {
    s << indent << "label: ";
    Printer<int64_t>::stream(s, indent + "  ", v.label);
    s << indent << "nb_vertex: ";
    Printer<int64_t>::stream(s, indent + "  ", v.nb_vertex);
    s << indent << "x: ";
    Printer<double>::stream(s, indent + "  ", v.x);
    s << indent << "y: ";
    Printer<double>::stream(s, indent + "  ", v.y);
  }
};

} // namespace message_operations
} // namespace ros

#endif // VQIMG_MESSAGE_COMPONENT_CENTER_H
