/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/test/test_rospy/msg/TestConstants.msg */
#ifndef TEST_ROSPY_MESSAGE_TESTCONSTANTS_H
#define TEST_ROSPY_MESSAGE_TESTCONSTANTS_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_rospy
{
template <class ContainerAllocator>
struct TestConstants_ : public ros::Message
{
  typedef TestConstants_<ContainerAllocator> Type;

  TestConstants_()
  {
  }

  TestConstants_(const ContainerAllocator& _alloc)
  {
  }

  static const float A;
  static const float B;
  static const double C;
  enum { X = 123 };
  enum { Y = -123 };
  enum { Z = 124 };
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  FOO;
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  SINGLEQUOTE;
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  DOUBLEQUOTE;
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  MULTIQUOTE;
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  EXAMPLE;
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  WHITESPACE;
  static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  EMPTY;
  static const uint8_t TRUE;
  static const uint8_t FALSE;

private:
  static const char* __s_getDataType_() { return "test_rospy/TestConstants"; }
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 "e60959d2ccf9718dc5e42767bebd1644"; }
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 "float32 A=-123.0\n\
float32 B=124.0\n\
float64 C=125.0\n\
int32 X=123\n\
int32 Y=-123\n\
uint32 Z=124\n\
string FOO=foo\n\
string SINGLEQUOTE='hi\n\
string DOUBLEQUOTE=\"hello\" there\n\
string MULTIQUOTE=\"hello\" 'goodbye'\n\
string EXAMPLE=\"#comments\" are ignored, and leading and trailing whitespace removed\n\
string WHITESPACE= strip  \n\
string EMPTY= \n\
bool TRUE=1\n\
bool FALSE=0\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_rospy::TestConstants_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_rospy::TestConstants_<ContainerAllocator>  const> ConstPtr;
}; // struct TestConstants
typedef  ::test_rospy::TestConstants_<std::allocator<void> > TestConstants;

typedef boost::shared_ptr< ::test_rospy::TestConstants> TestConstantsPtr;
typedef boost::shared_ptr< ::test_rospy::TestConstants const> TestConstantsConstPtr;

template<typename ContainerAllocator> const float TestConstants_<ContainerAllocator>::A = -123.0;
template<typename ContainerAllocator> const float TestConstants_<ContainerAllocator>::B = 124.0;
template<typename ContainerAllocator> const double TestConstants_<ContainerAllocator>::C = 125.0;
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  TestConstants_<ContainerAllocator>::FOO = "foo";
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  TestConstants_<ContainerAllocator>::SINGLEQUOTE = "'hi";
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  TestConstants_<ContainerAllocator>::DOUBLEQUOTE = "\"hello\" there";
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  TestConstants_<ContainerAllocator>::MULTIQUOTE = "\"hello\" 'goodbye'";
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  TestConstants_<ContainerAllocator>::EXAMPLE = "\"#comments\" are ignored, and leading and trailing whitespace removed";
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  TestConstants_<ContainerAllocator>::WHITESPACE = "strip";
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  TestConstants_<ContainerAllocator>::EMPTY = "";
template<typename ContainerAllocator> const uint8_t TestConstants_<ContainerAllocator>::TRUE = True;
template<typename ContainerAllocator> const uint8_t TestConstants_<ContainerAllocator>::FALSE = False;

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

} // namespace test_rospy

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_rospy::TestConstants_<ContainerAllocator> > {
  static const char* value() 
  {
    return "e60959d2ccf9718dc5e42767bebd1644";
  }

  static const char* value(const  ::test_rospy::TestConstants_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xe60959d2ccf9718dULL;
  static const uint64_t static_value2 = 0xc5e42767bebd1644ULL;
};

template<class ContainerAllocator>
struct DataType< ::test_rospy::TestConstants_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/TestConstants";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::TestConstants_<ContainerAllocator> > {
  static const char* value() 
  {
    return "float32 A=-123.0\n\
float32 B=124.0\n\
float64 C=125.0\n\
int32 X=123\n\
int32 Y=-123\n\
uint32 Z=124\n\
string FOO=foo\n\
string SINGLEQUOTE='hi\n\
string DOUBLEQUOTE=\"hello\" there\n\
string MULTIQUOTE=\"hello\" 'goodbye'\n\
string EXAMPLE=\"#comments\" are ignored, and leading and trailing whitespace removed\n\
string WHITESPACE= strip  \n\
string EMPTY= \n\
bool TRUE=1\n\
bool FALSE=0\n\
";
  }

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

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

namespace ros
{
namespace serialization
{

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

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

namespace ros
{
namespace message_operations
{

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


} // namespace message_operations
} // namespace ros

#endif // TEST_ROSPY_MESSAGE_TESTCONSTANTS_H

