GetWaypointByNameRequest.h 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. // Generated by gencpp from file waterplus_map_tools/GetWaypointByNameRequest.msg
  2. // DO NOT EDIT!
  3. #ifndef WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYNAMEREQUEST_H
  4. #define WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYNAMEREQUEST_H
  5. #include <string>
  6. #include <vector>
  7. #include <memory>
  8. #include <ros/types.h>
  9. #include <ros/serialization.h>
  10. #include <ros/builtin_message_traits.h>
  11. #include <ros/message_operations.h>
  12. namespace waterplus_map_tools
  13. {
  14. template <class ContainerAllocator>
  15. struct GetWaypointByNameRequest_
  16. {
  17. typedef GetWaypointByNameRequest_<ContainerAllocator> Type;
  18. GetWaypointByNameRequest_()
  19. : name() {
  20. }
  21. GetWaypointByNameRequest_(const ContainerAllocator& _alloc)
  22. : name(_alloc) {
  23. (void)_alloc;
  24. }
  25. typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _name_type;
  26. _name_type name;
  27. typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> > Ptr;
  28. typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> const> ConstPtr;
  29. }; // struct GetWaypointByNameRequest_
  30. typedef ::waterplus_map_tools::GetWaypointByNameRequest_<std::allocator<void> > GetWaypointByNameRequest;
  31. typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByNameRequest > GetWaypointByNameRequestPtr;
  32. typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByNameRequest const> GetWaypointByNameRequestConstPtr;
  33. // constants requiring out of line definition
  34. template<typename ContainerAllocator>
  35. std::ostream& operator<<(std::ostream& s, const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> & v)
  36. {
  37. ros::message_operations::Printer< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >::stream(s, "", v);
  38. return s;
  39. }
  40. template<typename ContainerAllocator1, typename ContainerAllocator2>
  41. bool operator==(const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator1> & lhs, const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator2> & rhs)
  42. {
  43. return lhs.name == rhs.name;
  44. }
  45. template<typename ContainerAllocator1, typename ContainerAllocator2>
  46. bool operator!=(const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator1> & lhs, const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator2> & rhs)
  47. {
  48. return !(lhs == rhs);
  49. }
  50. } // namespace waterplus_map_tools
  51. namespace ros
  52. {
  53. namespace message_traits
  54. {
  55. template <class ContainerAllocator>
  56. struct IsMessage< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >
  57. : TrueType
  58. { };
  59. template <class ContainerAllocator>
  60. struct IsMessage< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> const>
  61. : TrueType
  62. { };
  63. template <class ContainerAllocator>
  64. struct IsFixedSize< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >
  65. : FalseType
  66. { };
  67. template <class ContainerAllocator>
  68. struct IsFixedSize< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> const>
  69. : FalseType
  70. { };
  71. template <class ContainerAllocator>
  72. struct HasHeader< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >
  73. : FalseType
  74. { };
  75. template <class ContainerAllocator>
  76. struct HasHeader< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> const>
  77. : FalseType
  78. { };
  79. template<class ContainerAllocator>
  80. struct MD5Sum< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >
  81. {
  82. static const char* value()
  83. {
  84. return "c1f3d28f1b044c871e6eff2e9fc3c667";
  85. }
  86. static const char* value(const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator>&) { return value(); }
  87. static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL;
  88. static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL;
  89. };
  90. template<class ContainerAllocator>
  91. struct DataType< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >
  92. {
  93. static const char* value()
  94. {
  95. return "waterplus_map_tools/GetWaypointByNameRequest";
  96. }
  97. static const char* value(const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator>&) { return value(); }
  98. };
  99. template<class ContainerAllocator>
  100. struct Definition< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >
  101. {
  102. static const char* value()
  103. {
  104. return "string name\n"
  105. ;
  106. }
  107. static const char* value(const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator>&) { return value(); }
  108. };
  109. } // namespace message_traits
  110. } // namespace ros
  111. namespace ros
  112. {
  113. namespace serialization
  114. {
  115. template<class ContainerAllocator> struct Serializer< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >
  116. {
  117. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  118. {
  119. stream.next(m.name);
  120. }
  121. ROS_DECLARE_ALLINONE_SERIALIZER
  122. }; // struct GetWaypointByNameRequest_
  123. } // namespace serialization
  124. } // namespace ros
  125. namespace ros
  126. {
  127. namespace message_operations
  128. {
  129. template<class ContainerAllocator>
  130. struct Printer< ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator> >
  131. {
  132. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::waterplus_map_tools::GetWaypointByNameRequest_<ContainerAllocator>& v)
  133. {
  134. s << indent << "name: ";
  135. Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.name);
  136. }
  137. };
  138. } // namespace message_operations
  139. } // namespace ros
  140. #endif // WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYNAMEREQUEST_H