All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
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 78 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 88 of file message_expansion.h.

Definition at line 95 of file message_expansion.h.


Member Function Documentation

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

Definition at line 112 of file introspection.cpp.

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

Implements cpp_introspection::Message.

Definition at line 98 of file message_expansion.h.

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

Implements cpp_introspection::Message.

Definition at line 97 of file message_expansion.h.

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

Implements cpp_introspection::Message.

Definition at line 99 of file message_expansion.h.

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

Reimplemented from cpp_introspection::MessageForwarder.

Definition at line 101 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 102 of file message_expansion.h.


Member Data Documentation

Definition at line 82 of file message_expansion.h.

Definition at line 80 of file message_expansion.h.

Definition at line 81 of file message_expansion.h.

Definition at line 85 of file message_expansion.h.

Definition at line 84 of file message_expansion.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


cpp_introspection
Author(s): Johannes Meyer
autogenerated on Tue Jan 8 2013 17:30:48