Public Member Functions
variant_topic_tools::MessageVariant::Value Class Reference

Message variant value (abstract base) More...

#include <MessageVariant.h>

Inheritance diagram for variant_topic_tools::MessageVariant::Value:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Message variant value (abstract base)

Definition at line 61 of file MessageVariant.h.


Constructor & Destructor Documentation

Default constructor.

Reimplemented from variant_topic_tools::CollectionVariant::Value.

Definition at line 53 of file MessageVariant.cpp.

Destructor.

Reimplemented from variant_topic_tools::CollectionVariant::Value.

Definition at line 56 of file MessageVariant.cpp.


Member Function Documentation

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.

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.


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


variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Fri Aug 5 2016 06:06:27