Message variant value (abstract base) More...
#include <MessageVariant.h>
Public Member Functions | |
virtual const std::string & | getMemberName (int index) const =0 |
Retrieve the name of the message member with the specified index (abstract declaration) | |
void | setValue (const Variant::Value &value) |
Set the variant's value (implementation) | |
Value () | |
Default constructor. | |
void | writeMember (std::ostream &stream, int index) const |
Write the variant collection member with the specified index to a stream (implementation) | |
virtual | ~Value () |
Destructor. |
Message variant value (abstract base)
Definition at line 61 of file MessageVariant.h.
Default constructor.
Reimplemented from variant_topic_tools::CollectionVariant::Value.
Definition at line 53 of file MessageVariant.cpp.
variant_topic_tools::MessageVariant::Value::~Value | ( | ) | [virtual] |
Destructor.
Reimplemented from variant_topic_tools::CollectionVariant::Value.
Definition at line 56 of file MessageVariant.cpp.
virtual const std::string& variant_topic_tools::MessageVariant::Value::getMemberName | ( | int | index | ) | const [pure virtual] |
Retrieve the name of the message member with the specified index (abstract declaration)
Implemented in variant_topic_tools::MessageVariant::ValueImplT< T >, and variant_topic_tools::MessageVariant::ValueImplV.
void variant_topic_tools::MessageVariant::Value::setValue | ( | const Variant::Value & | value | ) | [virtual] |
Set the variant's value (implementation)
Implements variant_topic_tools::Variant::Value.
Definition at line 75 of file MessageVariant.cpp.
void variant_topic_tools::MessageVariant::Value::writeMember | ( | std::ostream & | stream, |
int | index | ||
) | const [virtual] |
Write the variant collection member with the specified index to a stream (implementation)
Implements variant_topic_tools::CollectionVariant::Value.
Definition at line 117 of file MessageVariant.cpp.