Public Member Functions | Private Attributes | List of all members
cpp_introspection::ExpandedField Class Reference

#include <message_expansion.h>

Inheritance diagram for cpp_introspection::ExpandedField:
Inheritance graph
[legend]

Public Member Functions

virtual FieldPtr access (AccessorBase &accessor) const
 
 ExpandedField (const Field &parent, std::string name=std::string(), std::size_t index=0)
 
virtual boost::any get (std::size_t i=0) const
 
virtual const char * getDataType () const
 
virtual std::size_t getIndex () const
 
virtual const char * getName () const
 
virtual TypePtr getType () const
 
virtual const std::type_info & getTypeId () const
 
virtual const char * getValueType () const
 
virtual bool hasInstance () const
 
virtual bool isArray () const
 
virtual bool isContainer () const
 
virtual bool isFixedSize () const
 
virtual bool isMessage () const
 
virtual bool isSimple () const
 
virtual bool isVector () const
 
virtual const Messagemessage () const
 
virtual void setAny (const boost::any &value, std::size_t i=0) const
 
virtual ~ExpandedField ()
 
- Public Member Functions inherited from cpp_introspection::Field
template<typename T >
as (std::size_t i=0) const
 
virtual std::size_t capacity () const
 
virtual bool empty () const
 
virtual MessagePtr expand (std::size_t i=0) const
 
virtual void resize (size_t new_size) const
 
template<typename T >
void set (const T &value, std::size_t i=0) const
 
virtual std::size_t size () const
 
virtual ~Field ()
 

Private Attributes

std::size_t index_
 
std::string name_
 
const Fieldparent_
 

Detailed Description

Definition at line 111 of file message_expansion.h.

Constructor & Destructor Documentation

cpp_introspection::ExpandedField::ExpandedField ( const Field parent,
std::string  name = std::string(),
std::size_t  index = 0 
)
inline

Definition at line 118 of file message_expansion.h.

virtual cpp_introspection::ExpandedField::~ExpandedField ( )
inlinevirtual

Definition at line 121 of file message_expansion.h.

Member Function Documentation

virtual FieldPtr cpp_introspection::ExpandedField::access ( AccessorBase accessor) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 143 of file message_expansion.h.

virtual boost::any cpp_introspection::ExpandedField::get ( std::size_t  i = 0) const
inlinevirtual

Reimplemented from cpp_introspection::Field.

Definition at line 140 of file message_expansion.h.

virtual const char* cpp_introspection::ExpandedField::getDataType ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 126 of file message_expansion.h.

virtual std::size_t cpp_introspection::ExpandedField::getIndex ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 128 of file message_expansion.h.

virtual const char* cpp_introspection::ExpandedField::getName ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 125 of file message_expansion.h.

virtual TypePtr cpp_introspection::ExpandedField::getType ( ) const
inlinevirtual

Reimplemented from cpp_introspection::Field.

Definition at line 130 of file message_expansion.h.

virtual const std::type_info& cpp_introspection::ExpandedField::getTypeId ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 129 of file message_expansion.h.

virtual const char* cpp_introspection::ExpandedField::getValueType ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 127 of file message_expansion.h.

virtual bool cpp_introspection::ExpandedField::hasInstance ( ) const
inlinevirtual

Reimplemented from cpp_introspection::Field.

Definition at line 139 of file message_expansion.h.

virtual bool cpp_introspection::ExpandedField::isArray ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 132 of file message_expansion.h.

virtual bool cpp_introspection::ExpandedField::isContainer ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 134 of file message_expansion.h.

virtual bool cpp_introspection::ExpandedField::isFixedSize ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 136 of file message_expansion.h.

virtual bool cpp_introspection::ExpandedField::isMessage ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 137 of file message_expansion.h.

virtual bool cpp_introspection::ExpandedField::isSimple ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 135 of file message_expansion.h.

virtual bool cpp_introspection::ExpandedField::isVector ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 133 of file message_expansion.h.

virtual const Message& cpp_introspection::ExpandedField::message ( ) const
inlinevirtual

Implements cpp_introspection::Field.

Definition at line 123 of file message_expansion.h.

virtual void cpp_introspection::ExpandedField::setAny ( const boost::any &  value,
std::size_t  i = 0 
) const
inlinevirtual

Reimplemented from cpp_introspection::Field.

Definition at line 141 of file message_expansion.h.

Member Data Documentation

std::size_t cpp_introspection::ExpandedField::index_
private

Definition at line 114 of file message_expansion.h.

std::string cpp_introspection::ExpandedField::name_
private

Definition at line 115 of file message_expansion.h.

const Field& cpp_introspection::ExpandedField::parent_
private

Definition at line 113 of file message_expansion.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