Public Member Functions | List of all members
variant_topic_tools::Variant::Value Class Referenceabstract

Variant value (abstract base) More...

#include <Variant.h>

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

Public Member Functions

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

Detailed Description

Variant value (abstract base)

Definition at line 167 of file Variant.h.

Constructor & Destructor Documentation

variant_topic_tools::Variant::Value::Value ( )

Default constructor.

Definition at line 42 of file Variant.cpp.

variant_topic_tools::Variant::Value::~Value ( )
virtual

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 Sat Jan 9 2021 03:56:50