Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Friends
variant_topic_tools::MessageVariant Class Reference

Message variant type. More...

#include <MessageVariant.h>

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

List of all members.

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

Detailed Description

Message variant type.

Definition at line 35 of file MessageVariant.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 30 of file MessageVariant.cpp.

Copy constructor.

Definition at line 40 of file MessageVariant.cpp.

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.


Member Function Documentation

template<typename T >
static MessageVariant variant_topic_tools::MessageVariant::create ( const DataType type,
const MessageFieldCollection< MessageVariable > &  members 
) [static, protected]

Create a message variant.


Friends And Related Function Documentation

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.


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