Public Member Functions
variant_topic_tools::Variant::ValueT< T > Class Template Reference

Variant value (templated abstract base) More...

#include <Variant.h>

Inheritance diagram for variant_topic_tools::Variant::ValueT< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const std::type_info & getTypeInfo () const
 Retrieve the variant's value type information (re-implementation)
virtual T & getValue ()=0
 Retrieve the variant's value (abstract declaration of the non-const version)
virtual const T & getValue () const =0
 Retrieve the variant's value (abstract declaration of the const version)
virtual void set (const Pointer< T > &value)=0
 Set the variant's value pointer (abstract declaration)
void setValue (const T &value)
 Set the variant's value (overloaded version taking a variant value)
 ValueT ()
 Default constructor.
virtual ~ValueT ()
 Destructor.

Detailed Description

template<typename T>
class variant_topic_tools::Variant::ValueT< T >

Variant value (templated abstract base)

Definition at line 209 of file Variant.h.


Constructor & Destructor Documentation

template<typename T>
variant_topic_tools::Variant::ValueT< T >::ValueT ( )

Default constructor.

template<typename T>
virtual variant_topic_tools::Variant::ValueT< T >::~ValueT ( ) [virtual]

Destructor.


Member Function Documentation

template<typename T>
const std::type_info& variant_topic_tools::Variant::ValueT< T >::getTypeInfo ( ) const [virtual]

Retrieve the variant's value type information (re-implementation)

Reimplemented from variant_topic_tools::Variant::Value.

template<typename T>
virtual T& variant_topic_tools::Variant::ValueT< T >::getValue ( ) [pure virtual]

Retrieve the variant's value (abstract declaration of the non-const version)

Implemented in variant_topic_tools::ArrayVariant::ValueImplT< T >, variant_topic_tools::MessageVariant::ValueImplT< T >, and variant_topic_tools::BuiltinVariant::ValueImplT< T >.

template<typename T>
virtual const T& variant_topic_tools::Variant::ValueT< T >::getValue ( ) const [pure virtual]
template<typename T>
virtual void variant_topic_tools::Variant::ValueT< T >::set ( const Pointer< T > &  value) [pure virtual]

Set the variant's value pointer (abstract declaration)

Implemented in variant_topic_tools::ArrayVariant::ValueImplT< T >.

template<typename T>
void variant_topic_tools::Variant::ValueT< T >::setValue ( const T &  value)

Set the variant's value (overloaded version taking a variant value)


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


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