/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/test/test_rospy/msg/TestFixedArray.msg */
#ifndef TEST_ROSPY_MESSAGE_TESTFIXEDARRAY_H
#define TEST_ROSPY_MESSAGE_TESTFIXEDARRAY_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 TestFixedArray_ : public ros::Message
{
  typedef TestFixedArray_<ContainerAllocator> Type;

  TestFixedArray_()
  : f32_1()
  , f32_3()
  , f64_1()
  , f64_3()
  , i8_1()
  , i8_3()
  , u8_1()
  , u8_3()
  , i32_1()
  , i32_3()
  , u32_1()
  , u32_3()
  , s_1()
  , s_3()
  , b_1()
  , b_3()
  {
    f32_1.assign(0.0);
    f32_3.assign(0.0);
    f64_1.assign(0.0);
    f64_3.assign(0.0);
    i8_1.assign(0);
    i8_3.assign(0);
    u8_1.assign(0);
    u8_3.assign(0);
    i32_1.assign(0);
    i32_3.assign(0);
    u32_1.assign(0);
    u32_3.assign(0);
    b_1.assign(false);
    b_3.assign(false);
  }

  TestFixedArray_(const ContainerAllocator& _alloc)
  : f32_1()
  , f32_3()
  , f64_1()
  , f64_3()
  , i8_1()
  , i8_3()
  , u8_1()
  , u8_3()
  , i32_1()
  , i32_3()
  , u32_1()
  , u32_3()
  , s_1()
  , s_3()
  , b_1()
  , b_3()
  {
    f32_1.assign(0.0);
    f32_3.assign(0.0);
    f64_1.assign(0.0);
    f64_3.assign(0.0);
    i8_1.assign(0);
    i8_3.assign(0);
    u8_1.assign(0);
    u8_3.assign(0);
    i32_1.assign(0);
    i32_3.assign(0);
    u32_1.assign(0);
    u32_3.assign(0);
    s_1.assign(std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > (_alloc));
    s_3.assign(std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > (_alloc));
    b_1.assign(false);
    b_3.assign(false);
  }

  typedef boost::array<float, 1>  _f32_1_type;
  boost::array<float, 1>  f32_1;

  typedef boost::array<float, 3>  _f32_3_type;
  boost::array<float, 3>  f32_3;

  typedef boost::array<double, 1>  _f64_1_type;
  boost::array<double, 1>  f64_1;

  typedef boost::array<double, 3>  _f64_3_type;
  boost::array<double, 3>  f64_3;

  typedef boost::array<int8_t, 1>  _i8_1_type;
  boost::array<int8_t, 1>  i8_1;

  typedef boost::array<int8_t, 3>  _i8_3_type;
  boost::array<int8_t, 3>  i8_3;

  typedef boost::array<uint8_t, 1>  _u8_1_type;
  boost::array<uint8_t, 1>  u8_1;

  typedef boost::array<uint8_t, 3>  _u8_3_type;
  boost::array<uint8_t, 3>  u8_3;

  typedef boost::array<int32_t, 1>  _i32_1_type;
  boost::array<int32_t, 1>  i32_1;

  typedef boost::array<int32_t, 3>  _i32_3_type;
  boost::array<int32_t, 3>  i32_3;

  typedef boost::array<uint32_t, 1>  _u32_1_type;
  boost::array<uint32_t, 1>  u32_1;

  typedef boost::array<uint32_t, 3>  _u32_3_type;
  boost::array<uint32_t, 3>  u32_3;

  typedef boost::array<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , 1>  _s_1_type;
  boost::array<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , 1>  s_1;

  typedef boost::array<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , 3>  _s_3_type;
  boost::array<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , 3>  s_3;

  typedef boost::array<uint8_t, 1>  _b_1_type;
  boost::array<uint8_t, 1>  b_1;

  typedef boost::array<uint8_t, 3>  _b_3_type;
  boost::array<uint8_t, 3>  b_3;


  ROS_DEPRECATED uint32_t get_f32_1_size() const { return (uint32_t)f32_1.size(); }
  ROS_DEPRECATED uint32_t get_f32_3_size() const { return (uint32_t)f32_3.size(); }
  ROS_DEPRECATED uint32_t get_f64_1_size() const { return (uint32_t)f64_1.size(); }
  ROS_DEPRECATED uint32_t get_f64_3_size() const { return (uint32_t)f64_3.size(); }
  ROS_DEPRECATED uint32_t get_i8_1_size() const { return (uint32_t)i8_1.size(); }
  ROS_DEPRECATED uint32_t get_i8_3_size() const { return (uint32_t)i8_3.size(); }
  ROS_DEPRECATED uint32_t get_u8_1_size() const { return (uint32_t)u8_1.size(); }
  ROS_DEPRECATED uint32_t get_u8_3_size() const { return (uint32_t)u8_3.size(); }
  ROS_DEPRECATED uint32_t get_i32_1_size() const { return (uint32_t)i32_1.size(); }
  ROS_DEPRECATED uint32_t get_i32_3_size() const { return (uint32_t)i32_3.size(); }
  ROS_DEPRECATED uint32_t get_u32_1_size() const { return (uint32_t)u32_1.size(); }
  ROS_DEPRECATED uint32_t get_u32_3_size() const { return (uint32_t)u32_3.size(); }
  ROS_DEPRECATED uint32_t get_s_1_size() const { return (uint32_t)s_1.size(); }
  ROS_DEPRECATED uint32_t get_s_3_size() const { return (uint32_t)s_3.size(); }
  ROS_DEPRECATED uint32_t get_b_1_size() const { return (uint32_t)b_1.size(); }
  ROS_DEPRECATED uint32_t get_b_3_size() const { return (uint32_t)b_3.size(); }
private:
  static const char* __s_getDataType_() { return "test_rospy/TestFixedArray"; }
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 "1557473dc09f1a01a00123a713c822a7"; }
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[1] f32_1\n\
float32[3] f32_3\n\
float64[1] f64_1\n\
float64[3] f64_3\n\
int8[1] i8_1\n\
int8[3] i8_3\n\
uint8[1] u8_1\n\
uint8[3] u8_3\n\
int32[1] i32_1\n\
int32[3] i32_3\n\
uint32[1] u32_1\n\
uint32[3] u32_3\n\
string[1] s_1\n\
string[3] s_3\n\
bool[1] b_1\n\
bool[3] b_3\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);
    ros::serialization::serialize(stream, f32_1);
    ros::serialization::serialize(stream, f32_3);
    ros::serialization::serialize(stream, f64_1);
    ros::serialization::serialize(stream, f64_3);
    ros::serialization::serialize(stream, i8_1);
    ros::serialization::serialize(stream, i8_3);
    ros::serialization::serialize(stream, u8_1);
    ros::serialization::serialize(stream, u8_3);
    ros::serialization::serialize(stream, i32_1);
    ros::serialization::serialize(stream, i32_3);
    ros::serialization::serialize(stream, u32_1);
    ros::serialization::serialize(stream, u32_3);
    ros::serialization::serialize(stream, s_1);
    ros::serialization::serialize(stream, s_3);
    ros::serialization::serialize(stream, b_1);
    ros::serialization::serialize(stream, b_3);
    return stream.getData();
  }

  ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    ros::serialization::deserialize(stream, f32_1);
    ros::serialization::deserialize(stream, f32_3);
    ros::serialization::deserialize(stream, f64_1);
    ros::serialization::deserialize(stream, f64_3);
    ros::serialization::deserialize(stream, i8_1);
    ros::serialization::deserialize(stream, i8_3);
    ros::serialization::deserialize(stream, u8_1);
    ros::serialization::deserialize(stream, u8_3);
    ros::serialization::deserialize(stream, i32_1);
    ros::serialization::deserialize(stream, i32_3);
    ros::serialization::deserialize(stream, u32_1);
    ros::serialization::deserialize(stream, u32_3);
    ros::serialization::deserialize(stream, s_1);
    ros::serialization::deserialize(stream, s_3);
    ros::serialization::deserialize(stream, b_1);
    ros::serialization::deserialize(stream, b_3);
    return stream.getData();
  }

  ROS_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(f32_1);
    size += ros::serialization::serializationLength(f32_3);
    size += ros::serialization::serializationLength(f64_1);
    size += ros::serialization::serializationLength(f64_3);
    size += ros::serialization::serializationLength(i8_1);
    size += ros::serialization::serializationLength(i8_3);
    size += ros::serialization::serializationLength(u8_1);
    size += ros::serialization::serializationLength(u8_3);
    size += ros::serialization::serializationLength(i32_1);
    size += ros::serialization::serializationLength(i32_3);
    size += ros::serialization::serializationLength(u32_1);
    size += ros::serialization::serializationLength(u32_3);
    size += ros::serialization::serializationLength(s_1);
    size += ros::serialization::serializationLength(s_3);
    size += ros::serialization::serializationLength(b_1);
    size += ros::serialization::serializationLength(b_3);
    return size;
  }

  typedef boost::shared_ptr< ::test_rospy::TestFixedArray_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_rospy::TestFixedArray_<ContainerAllocator>  const> ConstPtr;
}; // struct TestFixedArray
typedef  ::test_rospy::TestFixedArray_<std::allocator<void> > TestFixedArray;

typedef boost::shared_ptr< ::test_rospy::TestFixedArray> TestFixedArrayPtr;
typedef boost::shared_ptr< ::test_rospy::TestFixedArray const> TestFixedArrayConstPtr;


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

} // namespace test_rospy

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

  static const char* value(const  ::test_rospy::TestFixedArray_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x1557473dc09f1a01ULL;
  static const uint64_t static_value2 = 0xa00123a713c822a7ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::TestFixedArray_<ContainerAllocator> > {
  static const char* value() 
  {
    return "float32[1] f32_1\n\
float32[3] f32_3\n\
float64[1] f64_1\n\
float64[3] f64_3\n\
int8[1] i8_1\n\
int8[3] i8_3\n\
uint8[1] u8_1\n\
uint8[3] u8_3\n\
int32[1] i32_1\n\
int32[3] i32_3\n\
uint32[1] u32_1\n\
uint32[3] u32_3\n\
string[1] s_1\n\
string[3] s_3\n\
bool[1] b_1\n\
bool[3] b_3\n\
";
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_rospy::TestFixedArray_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.f32_1);
    stream.next(m.f32_3);
    stream.next(m.f64_1);
    stream.next(m.f64_3);
    stream.next(m.i8_1);
    stream.next(m.i8_3);
    stream.next(m.u8_1);
    stream.next(m.u8_3);
    stream.next(m.i32_1);
    stream.next(m.i32_3);
    stream.next(m.u32_1);
    stream.next(m.u32_3);
    stream.next(m.s_1);
    stream.next(m.s_3);
    stream.next(m.b_1);
    stream.next(m.b_3);
  }

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

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::test_rospy::TestFixedArray_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::test_rospy::TestFixedArray_<ContainerAllocator> & v) 
  {
    s << indent << "f32_1[]" << std::endl;
    for (size_t i = 0; i < v.f32_1.size(); ++i)
    {
      s << indent << "  f32_1[" << i << "]: ";
      Printer<float>::stream(s, indent + "  ", v.f32_1[i]);
    }
    s << indent << "f32_3[]" << std::endl;
    for (size_t i = 0; i < v.f32_3.size(); ++i)
    {
      s << indent << "  f32_3[" << i << "]: ";
      Printer<float>::stream(s, indent + "  ", v.f32_3[i]);
    }
    s << indent << "f64_1[]" << std::endl;
    for (size_t i = 0; i < v.f64_1.size(); ++i)
    {
      s << indent << "  f64_1[" << i << "]: ";
      Printer<double>::stream(s, indent + "  ", v.f64_1[i]);
    }
    s << indent << "f64_3[]" << std::endl;
    for (size_t i = 0; i < v.f64_3.size(); ++i)
    {
      s << indent << "  f64_3[" << i << "]: ";
      Printer<double>::stream(s, indent + "  ", v.f64_3[i]);
    }
    s << indent << "i8_1[]" << std::endl;
    for (size_t i = 0; i < v.i8_1.size(); ++i)
    {
      s << indent << "  i8_1[" << i << "]: ";
      Printer<int8_t>::stream(s, indent + "  ", v.i8_1[i]);
    }
    s << indent << "i8_3[]" << std::endl;
    for (size_t i = 0; i < v.i8_3.size(); ++i)
    {
      s << indent << "  i8_3[" << i << "]: ";
      Printer<int8_t>::stream(s, indent + "  ", v.i8_3[i]);
    }
    s << indent << "u8_1[]" << std::endl;
    for (size_t i = 0; i < v.u8_1.size(); ++i)
    {
      s << indent << "  u8_1[" << i << "]: ";
      Printer<uint8_t>::stream(s, indent + "  ", v.u8_1[i]);
    }
    s << indent << "u8_3[]" << std::endl;
    for (size_t i = 0; i < v.u8_3.size(); ++i)
    {
      s << indent << "  u8_3[" << i << "]: ";
      Printer<uint8_t>::stream(s, indent + "  ", v.u8_3[i]);
    }
    s << indent << "i32_1[]" << std::endl;
    for (size_t i = 0; i < v.i32_1.size(); ++i)
    {
      s << indent << "  i32_1[" << i << "]: ";
      Printer<int32_t>::stream(s, indent + "  ", v.i32_1[i]);
    }
    s << indent << "i32_3[]" << std::endl;
    for (size_t i = 0; i < v.i32_3.size(); ++i)
    {
      s << indent << "  i32_3[" << i << "]: ";
      Printer<int32_t>::stream(s, indent + "  ", v.i32_3[i]);
    }
    s << indent << "u32_1[]" << std::endl;
    for (size_t i = 0; i < v.u32_1.size(); ++i)
    {
      s << indent << "  u32_1[" << i << "]: ";
      Printer<uint32_t>::stream(s, indent + "  ", v.u32_1[i]);
    }
    s << indent << "u32_3[]" << std::endl;
    for (size_t i = 0; i < v.u32_3.size(); ++i)
    {
      s << indent << "  u32_3[" << i << "]: ";
      Printer<uint32_t>::stream(s, indent + "  ", v.u32_3[i]);
    }
    s << indent << "s_1[]" << std::endl;
    for (size_t i = 0; i < v.s_1.size(); ++i)
    {
      s << indent << "  s_1[" << i << "]: ";
      Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.s_1[i]);
    }
    s << indent << "s_3[]" << std::endl;
    for (size_t i = 0; i < v.s_3.size(); ++i)
    {
      s << indent << "  s_3[" << i << "]: ";
      Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.s_3[i]);
    }
    s << indent << "b_1[]" << std::endl;
    for (size_t i = 0; i < v.b_1.size(); ++i)
    {
      s << indent << "  b_1[" << i << "]: ";
      Printer<uint8_t>::stream(s, indent + "  ", v.b_1[i]);
    }
    s << indent << "b_3[]" << std::endl;
    for (size_t i = 0; i < v.b_3.size(); ++i)
    {
      s << indent << "  b_3[" << i << "]: ";
      Printer<uint8_t>::stream(s, indent + "  ", v.b_3[i]);
    }
  }
};


} // namespace message_operations
} // namespace ros

#endif // TEST_ROSPY_MESSAGE_TESTFIXEDARRAY_H

