MultiArrayDimension.h
Go to the documentation of this file.
1 // Generated by gencpp from file std_msgs/MultiArrayDimension.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H
6 #define STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
18 
19 namespace std_msgs
20 {
21 template <class ContainerAllocator>
23 {
25 
27  : label()
28  , size(0)
29  , stride(0) {
30  }
31  MultiArrayDimension_(const ContainerAllocator& _alloc)
32  : label(_alloc)
33  , size(0)
34  , stride(0) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _label_type;
41  _label_type label;
42 
44  _size_type size;
45 
47  _stride_type stride;
48 
49 
50 
51 
54 
55 }; // struct MultiArrayDimension_
56 
57 typedef ::std_msgs::MultiArrayDimension_<std::allocator<void> > MultiArrayDimension;
58 
61 
62 // constants requiring out of line definition
63 
64 
65 
66 template<typename ContainerAllocator>
67 std::ostream& operator<<(std::ostream& s, const ::std_msgs::MultiArrayDimension_<ContainerAllocator> & v)
68 {
70 return s;
71 }
72 
73 } // namespace std_msgs
74 
75 namespace rs2rosinternal
76 {
77 namespace message_traits
78 {
79 
80 
81 
82 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
83 // {'std_msgs': ['/tmp/binarydeb/ros-kinetic-std-msgs-0.5.10/msg']}
84 
85 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
86 
87 
88 
89 
90 template <class ContainerAllocator>
91 struct IsFixedSize< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
92  : FalseType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsFixedSize< ::std_msgs::MultiArrayDimension_<ContainerAllocator> const>
97  : FalseType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::std_msgs::MultiArrayDimension_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::std_msgs::MultiArrayDimension_<ContainerAllocator> const>
117  : FalseType
118  { };
119 
120 
121 template<class ContainerAllocator>
122 struct MD5Sum< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
123 {
124  static const char* value()
125  {
126  return "4cd0c83a8683deae40ecdac60e53bfa8";
127  }
128 
129  static const char* value(const ::std_msgs::MultiArrayDimension_<ContainerAllocator>&) { return value(); }
130  static const uint64_t static_value1 = 0x4cd0c83a8683deaeULL;
131  static const uint64_t static_value2 = 0x40ecdac60e53bfa8ULL;
132 };
133 
134 template<class ContainerAllocator>
135 struct DataType< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
136 {
137  static const char* value()
138  {
139  return "std_msgs/MultiArrayDimension";
140  }
141 
142  static const char* value(const ::std_msgs::MultiArrayDimension_<ContainerAllocator>&) { return value(); }
143 };
144 
145 template<class ContainerAllocator>
146 struct Definition< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "string label # label of given dimension\n\
151 uint32 size # size of given dimension (in type units)\n\
152 uint32 stride # stride of given dimension\n\
153 ";
154  }
155 
156  static const char* value(const ::std_msgs::MultiArrayDimension_<ContainerAllocator>&) { return value(); }
157 };
158 
159 } // namespace message_traits
160 } // namespace rs2rosinternal
161 
162 namespace rs2rosinternal
163 {
164 namespace serialization
165 {
166 
167  template<class ContainerAllocator> struct Serializer< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
168  {
169  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
170  {
171  stream.next(m.label);
172  stream.next(m.size);
173  stream.next(m.stride);
174  }
175 
177  }; // struct MultiArrayDimension_
178 
179 } // namespace serialization
180 } // namespace rs2rosinternal
181 
182 namespace rs2rosinternal
183 {
184 namespace message_operations
185 {
186 
187 template<class ContainerAllocator>
188 struct Printer< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
189 {
190  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::MultiArrayDimension_<ContainerAllocator>& v)
191  {
192  s << indent << "label: ";
193  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.label);
194  s << indent << "size: ";
195  Printer<uint32_t>::stream(s, indent + " ", v.size);
196  s << indent << "stride: ";
197  Printer<uint32_t>::stream(s, indent + " ", v.stride);
198  }
199 };
200 
201 } // namespace message_operations
202 } // namespace rs2rosinternal
203 
204 #endif // STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H
static const char * value(const ::std_msgs::MultiArrayDimension_< ContainerAllocator > &)
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
boost::shared_ptr< ::std_msgs::MultiArrayDimension_< ContainerAllocator > > Ptr
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
GLuint GLuint stream
Definition: glext.h:1790
boost::shared_ptr< ::std_msgs::MultiArrayDimension > MultiArrayDimensionPtr
static const char * value(const ::std_msgs::MultiArrayDimension_< ContainerAllocator > &)
::std_msgs::MultiArrayDimension_< std::allocator< void > > MultiArrayDimension
MultiArrayDimension_< ContainerAllocator > Type
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value(const ::std_msgs::MultiArrayDimension_< ContainerAllocator > &)
Stream base-class, provides common functionality for IStream and OStream.
static void stream(Stream &s, const std::string &indent, const ::std_msgs::MultiArrayDimension_< ContainerAllocator > &v)
GLsizeiptr size
unsigned int uint32_t
Definition: stdint.h:80
MultiArrayDimension_(const ContainerAllocator &_alloc)
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _label_type
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: Bool.h:19
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
GLdouble GLdouble GLint stride
boost::shared_ptr< ::std_msgs::MultiArrayDimension_< ContainerAllocator > const > ConstPtr
boost::shared_ptr< ::std_msgs::MultiArrayDimension const > MultiArrayDimensionConstPtr
GLuint GLsizei const GLchar * label
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:22