Built-in variant value (templated implementation) More...
#include <BuiltinVariant.h>

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) | |
| ValueType & | getValue () |
| Retrieve the variant's value (implementation of the non-const version) | |
| const ValueType & | getValue () 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< ValueType > | value |
| The strong-typed value. | |
Built-in variant value (templated implementation)
Definition at line 84 of file BuiltinVariant.h.
| typedef type_traits::BuiltinType<T>::ValueType variant_topic_tools::BuiltinVariant::ValueImplT< T >::ValueType |
Declaration of the value type.
Definition at line 92 of file BuiltinVariant.h.
| variant_topic_tools::BuiltinVariant::ValueImplT< T >::ValueImplT | ( | const Pointer< ValueType > & | value = Pointer< ValueType >() | ) |
Default constructor.
| variant_topic_tools::BuiltinVariant::ValueImplT< T >::ValueImplT | ( | const ValueImplT< T > & | src | ) |
Copy constructor.
| virtual variant_topic_tools::BuiltinVariant::ValueImplT< T >::~ValueImplT | ( | ) | [virtual] |
Destructor.
| variant_topic_tools::BuiltinVariant::ValueImplT< T >::BOOST_STATIC_ASSERT | ( | type_traits::IsBuiltin< T >::value | ) |
| ValuePtr variant_topic_tools::BuiltinVariant::ValueImplT< T >::clone | ( | ) | const [virtual] |
Clone this variant value (implementation)
Implements variant_topic_tools::Variant::Value.
| 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.
| 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.
| 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 >.
| 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 >.
| 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.
| 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.
| void variant_topic_tools::BuiltinVariant::ValueImplT< T >::set | ( | const Pointer< ValueType > & | value | ) |
Set the variant's value pointer (implementation)
| 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.
| 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.
| Pointer<ValueType> variant_topic_tools::BuiltinVariant::ValueImplT< T >::value |
The strong-typed value.
Definition at line 152 of file BuiltinVariant.h.