Public Types | Public Member Functions | Public Attributes
variant_topic_tools::BuiltinVariant::ValueImplT< T > Class Template Reference

Built-in variant value (templated implementation) More...

#include <BuiltinVariant.h>

Inheritance diagram for variant_topic_tools::BuiltinVariant::ValueImplT< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
type_traits::BuiltinType< T >
::ValueType 
ValueType
 Declaration of the value type.

Public Member Functions

 BOOST_STATIC_ASSERT (type_traits::IsBuiltin< T >::value)
ValuePtr clone () const
 Clone this variant value (implementation)
Serializer createSerializer (const DataType &type) const
 Create a serializer for this variant (implementation)
double getNumericValue () const
 Retrieve the built-in variant's numeric value (implementation)
ValueTypegetValue ()
 Retrieve the variant's value (implementation of the non-const version)
const ValueTypegetValue () const
 Retrieve the variant's value (implementation of the const version)
bool isEqual (const Variant::Value &value) const
 True, if this variant value equals another variant value (implementation)
void read (std::istream &stream)
 Read the variant from a stream (implementation)
void set (const Pointer< ValueType > &value)
 Set the variant's value pointer (implementation)
void setValue (const Variant::Value &value)
 Set the variant's value (implementation)
 ValueImplT (const Pointer< ValueType > &value=Pointer< ValueType >())
 Default constructor.
 ValueImplT (const ValueImplT< T > &src)
 Copy constructor.
void write (std::ostream &stream) const
 Write this variant value to a stream (implementation)
virtual ~ValueImplT ()
 Destructor.

Public Attributes

Pointer< ValueTypevalue
 The strong-typed value.

Detailed Description

template<typename T>
class variant_topic_tools::BuiltinVariant::ValueImplT< T >

Built-in variant value (templated implementation)

Definition at line 84 of file BuiltinVariant.h.


Member Typedef Documentation

Declaration of the value type.

Definition at line 92 of file BuiltinVariant.h.


Constructor & Destructor Documentation

template<typename T>
variant_topic_tools::BuiltinVariant::ValueImplT< T >::ValueImplT ( const Pointer< ValueType > &  value = PointerValueType >())

Default constructor.

template<typename T>
variant_topic_tools::BuiltinVariant::ValueImplT< T >::ValueImplT ( const ValueImplT< T > &  src)

Copy constructor.

template<typename T>
virtual variant_topic_tools::BuiltinVariant::ValueImplT< T >::~ValueImplT ( ) [virtual]

Destructor.


Member Function Documentation

template<typename T>
ValuePtr variant_topic_tools::BuiltinVariant::ValueImplT< T >::clone ( ) const [virtual]

Clone this variant value (implementation)

Implements variant_topic_tools::Variant::Value.

template<typename T>
Serializer variant_topic_tools::BuiltinVariant::ValueImplT< T >::createSerializer ( const DataType type) const [virtual]

Create a serializer for this variant (implementation)

Implements variant_topic_tools::Variant::Value.

template<typename T>
double variant_topic_tools::BuiltinVariant::ValueImplT< T >::getNumericValue ( ) const [virtual]

Retrieve the built-in variant's numeric value (implementation)

Implements variant_topic_tools::BuiltinVariant::Value.

template<typename T>
ValueType& variant_topic_tools::BuiltinVariant::ValueImplT< T >::getValue ( ) [virtual]

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

Implements variant_topic_tools::Variant::ValueT< type_traits::BuiltinType< T >::ValueType >.

template<typename T>
const ValueType& variant_topic_tools::BuiltinVariant::ValueImplT< T >::getValue ( ) const [virtual]

Retrieve the variant's value (implementation of the const version)

Implements variant_topic_tools::Variant::ValueT< type_traits::BuiltinType< T >::ValueType >.

template<typename T>
bool variant_topic_tools::BuiltinVariant::ValueImplT< T >::isEqual ( const Variant::Value value) const [virtual]

True, if this variant value equals another variant value (implementation)

Implements variant_topic_tools::Variant::Value.

template<typename T>
void variant_topic_tools::BuiltinVariant::ValueImplT< T >::read ( std::istream &  stream) [virtual]

Read the variant from a stream (implementation)

Implements variant_topic_tools::Variant::Value.

template<typename T>
void variant_topic_tools::BuiltinVariant::ValueImplT< T >::set ( const Pointer< ValueType > &  value)

Set the variant's value pointer (implementation)

template<typename T>
void variant_topic_tools::BuiltinVariant::ValueImplT< T >::setValue ( const Variant::Value value) [virtual]

Set the variant's value (implementation)

Implements variant_topic_tools::Variant::Value.

template<typename T>
void variant_topic_tools::BuiltinVariant::ValueImplT< T >::write ( std::ostream &  stream) const [virtual]

Write this variant value to a stream (implementation)

Implements variant_topic_tools::Variant::Value.


Member Data Documentation

The strong-typed value.

Definition at line 152 of file BuiltinVariant.h.


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