/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/test/test_roscpp_serialization/msg/Constants.msg */
#ifndef TEST_ROSCPP_SERIALIZATION_MESSAGE_CONSTANTS_H
#define TEST_ROSCPP_SERIALIZATION_MESSAGE_CONSTANTS_H
#include <string>
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/time.h"


namespace test_roscpp_serialization
{
template <class ContainerAllocator>
struct Constants_ : public ros::Message
{
  typedef Constants_<ContainerAllocator> Type;

  Constants_()
  {
  }

  Constants_(const ContainerAllocator& _alloc)
  {
  }

  enum { a = 1 };
  enum { b = 2 };
  enum { c = 3 };
  enum { d = 4 };
  enum { e = 5 };
  enum { f = 6 };
  enum { g = 7 };
  enum { h = 8 };
  static const float fa;
  static const double fb;
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  str;
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  str2;

private:
  static const char* __s_getDataType_() { return "test_roscpp_serialization/Constants"; }
public:
  ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

  ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }

private:
  static const char* __s_getMD5Sum_() { return "0032309c8dd2c569e0e0d0e75974e750"; }
public:
  ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

  ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "uint8 a = 1\n\
int8 b = 2\n\
uint16 c = 3\n\
int16 d = 4\n\
uint32 e = 5\n\
int32 f = 6\n\
uint64 g = 7\n\
int64 h = 8\n\
float32 fa = 1.5\n\
float64 fb = 40.9\n\
string str = hello there\n\
string str2 = this string has \"quotes\" and \\slashes\\ in it\n\
"; }
public:
  ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

  ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }

  ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
  {
    ros::serialization::OStream stream(write_ptr, 1000000000);
    return stream.getData();
  }

  ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    return stream.getData();
  }

  ROS_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    return size;
  }

  typedef boost::shared_ptr< ::test_roscpp_serialization::Constants_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_roscpp_serialization::Constants_<ContainerAllocator>  const> ConstPtr;
}; // struct Constants
typedef  ::test_roscpp_serialization::Constants_<std::allocator<void> > Constants;

typedef boost::shared_ptr< ::test_roscpp_serialization::Constants> ConstantsPtr;
typedef boost::shared_ptr< ::test_roscpp_serialization::Constants const> ConstantsConstPtr;

template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::fa = 1.5;
template<typename ContainerAllocator> const double Constants_<ContainerAllocator>::fb = 40.9;
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  Constants_<ContainerAllocator>::str = "hello there";
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  Constants_<ContainerAllocator>::str2 = "this string has \"quotes\" and \\slashes\\ in it";

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

} // namespace test_roscpp_serialization

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_roscpp_serialization::Constants_<ContainerAllocator> > {
  static const char* value() 
  {
    return "0032309c8dd2c569e0e0d0e75974e750";
  }

  static const char* value(const  ::test_roscpp_serialization::Constants_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x0032309c8dd2c569ULL;
  static const uint64_t static_value2 = 0xe0e0d0e75974e750ULL;
};

template<class ContainerAllocator>
struct DataType< ::test_roscpp_serialization::Constants_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_roscpp_serialization/Constants";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_roscpp_serialization::Constants_<ContainerAllocator> > {
  static const char* value() 
  {
    return "uint8 a = 1\n\
int8 b = 2\n\
uint16 c = 3\n\
int16 d = 4\n\
uint32 e = 5\n\
int32 f = 6\n\
uint64 g = 7\n\
int64 h = 8\n\
float32 fa = 1.5\n\
float64 fb = 40.9\n\
string str = hello there\n\
string str2 = this string has \"quotes\" and \\slashes\\ in it\n\
";
  }

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

template<class ContainerAllocator> struct IsFixedSize< ::test_roscpp_serialization::Constants_<ContainerAllocator> > : public TrueType {};
} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_roscpp_serialization::Constants_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
  }

  ROS_DECLARE_ALLINONE_SERIALIZER;
}; // struct Constants_
} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::test_roscpp_serialization::Constants_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::test_roscpp_serialization::Constants_<ContainerAllocator> & v) 
  {
  }
};


} // namespace message_operations
} // namespace ros

#endif // TEST_ROSCPP_SERIALIZATION_MESSAGE_CONSTANTS_H

