/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/test/test_roscpp/srv/TestStringString.srv */
#ifndef TEST_ROSCPP_SERVICE_TESTSTRINGSTRING_H
#define TEST_ROSCPP_SERVICE_TESTSTRINGSTRING_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 TestStringStringRequest_ : public ros::Message
{
  typedef TestStringStringRequest_<ContainerAllocator> Type;

  TestStringStringRequest_()
  : str()
  {
  }

  TestStringStringRequest_(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/TestStringStringRequest"; }
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 "671f8e4998eaec79f1c47e339dfd527b"; }
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\
"; }
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::TestStringStringRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_roscpp::TestStringStringRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct TestStringStringRequest
typedef  ::test_roscpp::TestStringStringRequest_<std::allocator<void> > TestStringStringRequest;

typedef boost::shared_ptr< ::test_roscpp::TestStringStringRequest> TestStringStringRequestPtr;
typedef boost::shared_ptr< ::test_roscpp::TestStringStringRequest const> TestStringStringRequestConstPtr;


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

  TestStringStringResponse_()
  : str()
  {
  }

  TestStringStringResponse_(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/TestStringStringResponse"; }
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 "671f8e4998eaec79f1c47e339dfd527b"; }
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::TestStringStringResponse_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_roscpp::TestStringStringResponse_<ContainerAllocator>  const> ConstPtr;
}; // struct TestStringStringResponse
typedef  ::test_roscpp::TestStringStringResponse_<std::allocator<void> > TestStringStringResponse;

typedef boost::shared_ptr< ::test_roscpp::TestStringStringResponse> TestStringStringResponsePtr;
typedef boost::shared_ptr< ::test_roscpp::TestStringStringResponse const> TestStringStringResponseConstPtr;

struct TestStringString
{

typedef TestStringStringRequest Request;
typedef TestStringStringResponse Response;
Request request;
Response response;

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

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

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

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

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

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

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

} // namespace message_traits
} // namespace ros


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

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

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

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

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

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

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


namespace ros
{
namespace serialization
{

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

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

namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum<test_roscpp::TestStringString> {
  static const char* value() 
  {
    return "671f8e4998eaec79f1c47e339dfd527b";
  }

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

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

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

template<class ContainerAllocator>
struct MD5Sum<test_roscpp::TestStringStringRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "671f8e4998eaec79f1c47e339dfd527b";
  }

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

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

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

template<class ContainerAllocator>
struct MD5Sum<test_roscpp::TestStringStringResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "671f8e4998eaec79f1c47e339dfd527b";
  }

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

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

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSCPP_SERVICE_TESTSTRINGSTRING_H

