/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/test/test_roscpp/srv/BadTestStringString.srv */
#ifndef TEST_ROSCPP_SERVICE_BADTESTSTRINGSTRING_H
#define TEST_ROSCPP_SERVICE_BADTESTSTRINGSTRING_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"

#include "ros/service_traits.h"




namespace test_roscpp
{
template <class ContainerAllocator>
struct BadTestStringStringRequest_ : public ros::Message
{
  typedef BadTestStringStringRequest_<ContainerAllocator> Type;

  BadTestStringStringRequest_()
  : strbad()
  {
  }

  BadTestStringStringRequest_(const ContainerAllocator& _alloc)
  : strbad(_alloc)
  {
  }

  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _strbad_type;
  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  strbad;


private:
  static const char* __s_getDataType_() { return "test_roscpp/BadTestStringStringRequest"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

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

private:
  static const char* __s_getMD5Sum_() { return "0eb2dbe383c40e9fd573702d3024aa21"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

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

private:
  static const char* __s_getServerMD5Sum_() { return "6b193467bc2d41be616d6b0e985e2a63"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "\n\
string strbad\n\
\n\
"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

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

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

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

  ROSCPP_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(strbad);
    return size;
  }

  typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct BadTestStringStringRequest
typedef  ::test_roscpp::BadTestStringStringRequest_<std::allocator<void> > BadTestStringStringRequest;

typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringRequest> BadTestStringStringRequestPtr;
typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringRequest const> BadTestStringStringRequestConstPtr;


template <class ContainerAllocator>
struct BadTestStringStringResponse_ : public ros::Message
{
  typedef BadTestStringStringResponse_<ContainerAllocator> Type;

  BadTestStringStringResponse_()
  : str()
  {
  }

  BadTestStringStringResponse_(const ContainerAllocator& _alloc)
  : str(_alloc)
  {
  }

  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _str_type;
  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  str;


private:
  static const char* __s_getDataType_() { return "test_roscpp/BadTestStringStringResponse"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

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

private:
  static const char* __s_getMD5Sum_() { return "994972b6e03928b2476860ce6c4c8e17"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

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

private:
  static const char* __s_getServerMD5Sum_() { return "6b193467bc2d41be616d6b0e985e2a63"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "string str\n\
\n\
\n\
"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

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

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

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

  ROSCPP_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(str);
    return size;
  }

  typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator>  const> ConstPtr;
}; // struct BadTestStringStringResponse
typedef  ::test_roscpp::BadTestStringStringResponse_<std::allocator<void> > BadTestStringStringResponse;

typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringResponse> BadTestStringStringResponsePtr;
typedef boost::shared_ptr< ::test_roscpp::BadTestStringStringResponse const> BadTestStringStringResponseConstPtr;

struct BadTestStringString
{

typedef BadTestStringStringRequest Request;
typedef BadTestStringStringResponse Response;
Request request;
Response response;

typedef Request RequestType;
typedef Response ResponseType;
}; // struct BadTestStringString
} // namespace test_roscpp

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "0eb2dbe383c40e9fd573702d3024aa21";
  }

  static const char* value(const  ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x0eb2dbe383c40e9fULL;
  static const uint64_t static_value2 = 0xd573702d3024aa21ULL;
};

template<class ContainerAllocator>
struct DataType< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_roscpp/BadTestStringStringRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "\n\
string strbad\n\
\n\
";
  }

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

} // namespace message_traits
} // namespace ros


namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "994972b6e03928b2476860ce6c4c8e17";
  }

  static const char* value(const  ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x994972b6e03928b2ULL;
  static const uint64_t static_value2 = 0x476860ce6c4c8e17ULL;
};

template<class ContainerAllocator>
struct DataType< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_roscpp/BadTestStringStringResponse";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "string str\n\
\n\
\n\
";
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_roscpp::BadTestStringStringRequest_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.strbad);
  }

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


namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_roscpp::BadTestStringStringResponse_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.str);
  }

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

namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum<test_roscpp::BadTestStringString> {
  static const char* value() 
  {
    return "6b193467bc2d41be616d6b0e985e2a63";
  }

  static const char* value(const test_roscpp::BadTestStringString&) { return value(); } 
};

template<>
struct DataType<test_roscpp::BadTestStringString> {
  static const char* value() 
  {
    return "test_roscpp/BadTestStringString";
  }

  static const char* value(const test_roscpp::BadTestStringString&) { return value(); } 
};

template<class ContainerAllocator>
struct MD5Sum<test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "6b193467bc2d41be616d6b0e985e2a63";
  }

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

template<class ContainerAllocator>
struct DataType<test_roscpp::BadTestStringStringRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_roscpp/BadTestStringString";
  }

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

template<class ContainerAllocator>
struct MD5Sum<test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "6b193467bc2d41be616d6b0e985e2a63";
  }

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

template<class ContainerAllocator>
struct DataType<test_roscpp::BadTestStringStringResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_roscpp/BadTestStringString";
  }

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSCPP_SERVICE_BADTESTSTRINGSTRING_H

