Public Member Functions | Private Types | Private Attributes | List of all members
cpp_introspection::Accessor< T >::FieldAccess< FieldType > Class Template Reference
Inheritance diagram for cpp_introspection::Accessor< T >::FieldAccess< FieldType >:
Inheritance graph
[legend]

Public Member Functions

const Accessoraccessor () const
 
std::size_t capacity () const
 
bool empty () const
 
MessagePtr expand (std::size_t i) const
 
 FieldAccess (const FieldType &field, const Accessor &accessor)
 
boost::any get (std::size_t i) const
 
bool hasInstance () const
 
field_typereference () const
 
value_typereference (std::size_t i) const
 
void resize (std::size_t new_size) const
 
void setAny (const boost::any &value, std::size_t i) const
 
std::size_t size () const
 
virtual ~FieldAccess ()
 

Private Types

typedef boost::mpl::if_< boost::is_const< T >, const typename FieldType::field_type, typename FieldType::field_type >::type field_type
 
typedef boost::mpl::if_< boost::is_const< T >, const typename FieldType::value_type, typename FieldType::value_type >::type value_type
 

Private Attributes

const Accessoraccessor_
 
V_Message expanded_
 

Detailed Description

template<typename T>
template<typename FieldType>
class cpp_introspection::Accessor< T >::FieldAccess< FieldType >

Definition at line 94 of file accessor.h.

Member Typedef Documentation

template<typename T >
template<typename FieldType >
typedef boost::mpl::if_<boost::is_const<T>, const typename FieldType::field_type, typename FieldType::field_type>::type cpp_introspection::Accessor< T >::FieldAccess< FieldType >::field_type
private

Definition at line 98 of file accessor.h.

template<typename T >
template<typename FieldType >
typedef boost::mpl::if_<boost::is_const<T>, const typename FieldType::value_type, typename FieldType::value_type>::type cpp_introspection::Accessor< T >::FieldAccess< FieldType >::value_type
private

Definition at line 99 of file accessor.h.

Constructor & Destructor Documentation

template<typename T >
template<typename FieldType >
cpp_introspection::Accessor< T >::FieldAccess< FieldType >::FieldAccess ( const FieldType &  field,
const Accessor accessor 
)
inline

Definition at line 102 of file accessor.h.

template<typename T >
template<typename FieldType >
virtual cpp_introspection::Accessor< T >::FieldAccess< FieldType >::~FieldAccess ( )
inlinevirtual

Definition at line 103 of file accessor.h.

Member Function Documentation

template<typename T >
template<typename FieldType >
const Accessor& cpp_introspection::Accessor< T >::FieldAccess< FieldType >::accessor ( ) const
inline

Definition at line 105 of file accessor.h.

template<typename T >
template<typename FieldType >
std::size_t cpp_introspection::Accessor< T >::FieldAccess< FieldType >::capacity ( ) const
inline

Definition at line 116 of file accessor.h.

template<typename T >
template<typename FieldType >
bool cpp_introspection::Accessor< T >::FieldAccess< FieldType >::empty ( ) const
inline

Definition at line 114 of file accessor.h.

template<typename T >
template<typename FieldType >
MessagePtr cpp_introspection::Accessor< T >::FieldAccess< FieldType >::expand ( std::size_t  i) const
inline

Definition at line 121 of file accessor.h.

template<typename T >
template<typename FieldType >
boost::any cpp_introspection::Accessor< T >::FieldAccess< FieldType >::get ( std::size_t  i) const
inline

Definition at line 118 of file accessor.h.

template<typename T >
template<typename FieldType >
bool cpp_introspection::Accessor< T >::FieldAccess< FieldType >::hasInstance ( ) const
inline

Definition at line 110 of file accessor.h.

template<typename T >
template<typename FieldType >
field_type& cpp_introspection::Accessor< T >::FieldAccess< FieldType >::reference ( ) const
inline

Definition at line 108 of file accessor.h.

template<typename T >
template<typename FieldType >
value_type& cpp_introspection::Accessor< T >::FieldAccess< FieldType >::reference ( std::size_t  i) const
inline

Definition at line 109 of file accessor.h.

template<typename T >
template<typename FieldType >
void cpp_introspection::Accessor< T >::FieldAccess< FieldType >::resize ( std::size_t  new_size) const
inline

Definition at line 115 of file accessor.h.

template<typename T >
template<typename FieldType >
void cpp_introspection::Accessor< T >::FieldAccess< FieldType >::setAny ( const boost::any &  value,
std::size_t  i 
) const
inline

Definition at line 119 of file accessor.h.

template<typename T >
template<typename FieldType >
std::size_t cpp_introspection::Accessor< T >::FieldAccess< FieldType >::size ( ) const
inline

Definition at line 113 of file accessor.h.

Member Data Documentation

template<typename T >
template<typename FieldType >
const Accessor& cpp_introspection::Accessor< T >::FieldAccess< FieldType >::accessor_
private

Definition at line 96 of file accessor.h.

template<typename T >
template<typename FieldType >
V_Message cpp_introspection::Accessor< T >::FieldAccess< FieldType >::expanded_
mutableprivate

Definition at line 97 of file accessor.h.


The documentation for this class was generated from the following file:


cpp_introspection
Author(s): Johannes Meyer
autogenerated on Mon Jun 10 2019 12:56:18