Public Member Functions
variant_topic_tools::Variant::Value Class Reference

Variant value (abstract base) More...

#include <Variant.h>

Inheritance diagram for variant_topic_tools::Variant::Value:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ValuePtr clone () const =0
 Clone this variant value (abstract declaration)
virtual Serializer createSerializer (const DataType &type) const =0
 Create a serializer for this variant (abstract declaration)
virtual const std::type_info & getTypeInfo () const
 Retrieve the variant's value type information.
virtual bool isEqual (const Value &value) const =0
 True, if this variant value equals another variant value (abstract declaration)
virtual void read (std::istream &stream)=0
 Read the variant from a stream (abstract declaration)
virtual void setValue (const Value &value)=0
 Set the variant's value (abstract declaration)
 Value ()
 Default constructor.
virtual void write (std::ostream &stream) const =0
 Write this variant value to a stream (abstract declaration)
virtual ~Value ()
 Destructor.

Detailed Description

Variant value (abstract base)

Definition at line 167 of file Variant.h.


Constructor & Destructor Documentation


Member Function Documentation

virtual ValuePtr variant_topic_tools::Variant::Value::clone ( ) const [pure virtual]
virtual Serializer variant_topic_tools::Variant::Value::createSerializer ( const DataType type) const [pure virtual]
const std::type_info & variant_topic_tools::Variant::Value::getTypeInfo ( ) const [virtual]
virtual bool variant_topic_tools::Variant::Value::isEqual ( const Value value) const [pure virtual]

True, if this variant value equals another variant value (abstract declaration)

Implemented in variant_topic_tools::CollectionVariant::Value, and variant_topic_tools::BuiltinVariant::ValueImplT< T >.

virtual void variant_topic_tools::Variant::Value::read ( std::istream &  stream) [pure virtual]

Read the variant from a stream (abstract declaration)

Implemented in variant_topic_tools::CollectionVariant::Value, and variant_topic_tools::BuiltinVariant::ValueImplT< T >.

virtual void variant_topic_tools::Variant::Value::setValue ( const Value value) [pure virtual]
virtual void variant_topic_tools::Variant::Value::write ( std::ostream &  stream) const [pure virtual]

Write this variant value to a stream (abstract declaration)

Implemented in variant_topic_tools::CollectionVariant::Value, and variant_topic_tools::BuiltinVariant::ValueImplT< T >.


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


variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Tue Jul 9 2019 03:18:42