#include <MessageVariant.h>

Classes | |
| class | Value |
| Message variant value (abstract base) More... | |
| class | ValueImplT |
| Message variant value (templated implementation) More... | |
| class | ValueImplV |
| Message variant value (variant-typed implementation) More... | |
Public Member Functions | |
| MessageVariant () | |
| Default constructor. | |
| MessageVariant (const MessageVariant &src) | |
| Copy constructor. | |
| MessageVariant (const Variant &src) | |
| Copy constructor (overloaded version taking a variant) | |
| ~MessageVariant () | |
| Destructor. | |
Protected Member Functions | |
| MessageVariant (const DataType &type, const MessageFieldCollection< Variant > &members) | |
| Constructor (overloaded version taking a message data type and a collection of member variants) | |
Static Protected Member Functions | |
| template<typename T > | |
| static MessageVariant | create (const DataType &type, const MessageFieldCollection< MessageVariable > &members) |
| Create a message variant. | |
Friends | |
| class | MessageDataType |
| class | Variant |
Message variant type.
Definition at line 35 of file MessageVariant.h.
Default constructor.
Definition at line 30 of file MessageVariant.cpp.
Copy constructor.
Definition at line 40 of file MessageVariant.cpp.
| variant_topic_tools::MessageVariant::MessageVariant | ( | const Variant & | src | ) |
Copy constructor (overloaded version taking a variant)
Definition at line 44 of file MessageVariant.cpp.
Destructor.
Definition at line 50 of file MessageVariant.cpp.
| variant_topic_tools::MessageVariant::MessageVariant | ( | const DataType & | type, |
| const MessageFieldCollection< Variant > & | members | ||
| ) | [protected] |
Constructor (overloaded version taking a message data type and a collection of member variants)
Definition at line 33 of file MessageVariant.cpp.
| static MessageVariant variant_topic_tools::MessageVariant::create | ( | const DataType & | type, |
| const MessageFieldCollection< MessageVariable > & | members | ||
| ) | [static, protected] |
Create a message variant.
friend class MessageDataType [friend] |
Definition at line 37 of file MessageVariant.h.
friend class Variant [friend] |
Reimplemented from variant_topic_tools::CollectionVariant.
Definition at line 38 of file MessageVariant.h.