#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 81 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 91 of file message_expansion.h.
virtual cpp_introspection::ExpandedMessage::~ExpandedMessage | ( | ) | [inline, virtual] |
Definition at line 98 of file message_expansion.h.
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.
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.
std::string cpp_introspection::ExpandedMessage::prefix_ [private] |
Definition at line 88 of file message_expansion.h.
std::string cpp_introspection::ExpandedMessage::separator_ [private] |
Definition at line 87 of file message_expansion.h.