Classes | Namespaces | Defines | Functions
field_traits.h File Reference
#include <boost/type_traits/integral_constant.hpp>
#include <vector>
#include <boost/array.hpp>
#include <ros/message_traits.h>
Include dependency graph for field_traits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cpp_introspection::field_traits::is_array< T >
struct  cpp_introspection::field_traits::is_array< boost::array< T, N > >
struct  cpp_introspection::field_traits::is_container< T >
struct  cpp_introspection::field_traits::is_container< boost::array< T, N > >
struct  cpp_introspection::field_traits::is_container< std::vector< T > >
struct  cpp_introspection::field_traits::is_vector< T >
struct  cpp_introspection::field_traits::is_vector< std::vector< T > >
struct  cpp_introspection::field_traits::size< T >
struct  cpp_introspection::field_traits::size< boost::array< T, N > >
struct  cpp_introspection::field_traits::size< std::vector< T > >
struct  cpp_introspection::field_traits::value< T >
struct  cpp_introspection::field_traits::value< boost::array< T, N > >
struct  cpp_introspection::field_traits::value< std::vector< T > >

Namespaces

namespace  cpp_introspection
namespace  cpp_introspection::field_traits

Defines

#define INTROSPECTION_DECLARE_SIMPLE_TRAITS(_type, _name)

Functions

 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (bool,"bool")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (uint8_t,"uint8")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (int8_t,"int8")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (uint16_t,"uint8")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (int16_t,"int16")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (uint32_t,"uint32")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (int32_t,"int32")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (uint64_t,"uint64")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (int64_t,"int64")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (float,"float32")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (double,"float64")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (ros::Time,"time")
 cpp_introspection::field_traits::INTROSPECTION_DECLARE_SIMPLE_TRAITS (ros::Duration,"duration")

Define Documentation

#define INTROSPECTION_DECLARE_SIMPLE_TRAITS (   _type,
  _name 
)
Value:
template <> struct value< _type > { \
    typedef _type type; \
    static type& reference(_type& instance, std::size_t) { return instance; } \
    static const type& reference(const _type& instance, std::size_t) { return instance; } \
    static const char *name() { return _name; } \
  }

Definition at line 98 of file field_traits.h.



cpp_introspection
Author(s): Johannes Meyer
autogenerated on Thu Feb 11 2016 22:46:54