// Generated by gencpp from file colorimetry_msgs/ColorimetryResult.msg
// DO NOT EDIT!


#ifndef COLORIMETRY_MSGS_MESSAGE_COLORIMETRYRESULT_H
#define COLORIMETRY_MSGS_MESSAGE_COLORIMETRYRESULT_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 colorimetry_msgs
{
template <class ContainerAllocator>
struct ColorimetryResult_
{
  typedef ColorimetryResult_<ContainerAllocator> Type;

  ColorimetryResult_()
    : result_file_name()
    , red(0)
    , green(0)
    , blue(0)  {
    }
  ColorimetryResult_(const ContainerAllocator& _alloc)
    : result_file_name(_alloc)
    , red(0)
    , green(0)
    , blue(0)  {
  (void)_alloc;
    }



   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _result_file_name_type;
  _result_file_name_type result_file_name;

   typedef uint32_t _red_type;
  _red_type red;

   typedef uint32_t _green_type;
  _green_type green;

   typedef uint32_t _blue_type;
  _blue_type blue;





  typedef boost::shared_ptr< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> const> ConstPtr;

}; // struct ColorimetryResult_

typedef ::colorimetry_msgs::ColorimetryResult_<std::allocator<void> > ColorimetryResult;

typedef boost::shared_ptr< ::colorimetry_msgs::ColorimetryResult > ColorimetryResultPtr;
typedef boost::shared_ptr< ::colorimetry_msgs::ColorimetryResult const> ColorimetryResultConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator1> & lhs, const ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator2> & rhs)
{
  return lhs.result_file_name == rhs.result_file_name &&
    lhs.red == rhs.red &&
    lhs.green == rhs.green &&
    lhs.blue == rhs.blue;
}

template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator1> & lhs, const ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator2> & rhs)
{
  return !(lhs == rhs);
}


} // namespace colorimetry_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> >
{
  static const char* value()
  {
    return "e1db3c4c4d7afe3ab5599630fae7fb0e";
  }

  static const char* value(const ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xe1db3c4c4d7afe3aULL;
  static const uint64_t static_value2 = 0xb5599630fae7fb0eULL;
};

template<class ContainerAllocator>
struct DataType< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> >
{
  static const char* value()
  {
    return "colorimetry_msgs/ColorimetryResult";
  }

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

template<class ContainerAllocator>
struct Definition< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> >
{
  static const char* value()
  {
    return "string result_file_name\n"
"uint32 red\n"
"uint32 green\n"
"uint32 blue\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.result_file_name);
      stream.next(m.red);
      stream.next(m.green);
      stream.next(m.blue);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct ColorimetryResult_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::colorimetry_msgs::ColorimetryResult_<ContainerAllocator>& v)
  {
    s << indent << "result_file_name: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.result_file_name);
    s << indent << "red: ";
    Printer<uint32_t>::stream(s, indent + "  ", v.red);
    s << indent << "green: ";
    Printer<uint32_t>::stream(s, indent + "  ", v.green);
    s << indent << "blue: ";
    Printer<uint32_t>::stream(s, indent + "  ", v.blue);
  }
};

} // namespace message_operations
} // namespace ros

#endif // COLORIMETRY_MSGS_MESSAGE_COLORIMETRYRESULT_H
