#include <message_expansion.h>
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_Field & | fields () const |
virtual const V_FieldName & | getFieldNames () 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_ |
Definition at line 78 of file message_expansion.h.
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.
virtual cpp_introspection::ExpandedMessage::~ExpandedMessage | ( | ) | [inline, virtual] |
Definition at line 95 of file message_expansion.h.
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.
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.
std::string cpp_introspection::ExpandedMessage::prefix_ [private] |
Definition at line 85 of file message_expansion.h.
std::string cpp_introspection::ExpandedMessage::separator_ [private] |
Definition at line 84 of file message_expansion.h.