Public Member Functions | Private Member Functions | Private Attributes
cpp_introspection::ExpandedMessage Class Reference

#include <message_expansion.h>

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

List of all members.

Public Member Functions

 ExpandedMessage (const MessagePtr &parent, const std::string &separator=".", const std::string &prefix=std::string())
virtual FieldWPtr field (const std::string &name) const
virtual const V_Fieldfields () const
virtual const V_FieldNamegetFieldNames () const
virtual MessagePtr introspect (void *instance) const
virtual MessagePtr introspect (void const *instance) const
virtual ~ExpandedMessage ()

Private Member Functions

void expand (const MessagePtr &message, const std::string &prefix)

Private Attributes

V_FieldName field_names_
V_Field fields_
M_Field fields_by_name_
std::string prefix_
std::string separator_

Detailed Description

Definition at line 81 of file message_expansion.h.


Constructor & Destructor Documentation

cpp_introspection::ExpandedMessage::ExpandedMessage ( const MessagePtr parent,
const std::string &  separator = ".",
const std::string &  prefix = std::string() 
) [inline]

Definition at line 91 of file message_expansion.h.

Definition at line 98 of file message_expansion.h.


Member Function Documentation

void cpp_introspection::ExpandedMessage::expand ( const MessagePtr message,
const std::string &  prefix 
) [private]

Definition at line 114 of file introspection.cpp.

virtual FieldWPtr cpp_introspection::ExpandedMessage::field ( const std::string &  name) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 101 of file message_expansion.h.

virtual const V_Field& cpp_introspection::ExpandedMessage::fields ( ) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 100 of file message_expansion.h.

virtual const V_FieldName& cpp_introspection::ExpandedMessage::getFieldNames ( ) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 102 of file message_expansion.h.

virtual MessagePtr cpp_introspection::ExpandedMessage::introspect ( void *  instance) const [inline, virtual]

Reimplemented from cpp_introspection::MessageForwarder.

Definition at line 104 of file message_expansion.h.

virtual MessagePtr cpp_introspection::ExpandedMessage::introspect ( void const *  instance) const [inline, virtual]

Reimplemented from cpp_introspection::MessageForwarder.

Definition at line 105 of file message_expansion.h.


Member Data Documentation

Definition at line 85 of file message_expansion.h.

Definition at line 83 of file message_expansion.h.

Definition at line 84 of file message_expansion.h.

Definition at line 88 of file message_expansion.h.

Definition at line 87 of file message_expansion.h.


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


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