Zen
A cross-platform functional programming language

any::base Class Reference

Abstract base class for implementations of 'any' type. More...

#include <zbl.hpp>

Inheritance diagram for any::base:
any::impl< T >

List of all members.

Public Member Functions

virtual ~base ()
 Destructor.
virtual baseclone () const =0
 Create a clone of this instance.
virtual void write (z::stream &os) const =0
 Write to stream.
virtual QVariant getVar () const =0
 Create a QVariant from this instance.

Detailed Description

Abstract base class for implementations of 'any' type.


Member Function Documentation

virtual base* clone ( ) const [pure virtual]

Create a clone of this instance.

Returns:
The clone instance

Implemented in any::impl< T >.

virtual QVariant getVar ( ) const [pure virtual]

Create a QVariant from this instance.

Returns:
The QVariant

Implemented in any::impl< T >.

virtual void write ( z::stream os) const [pure virtual]

Write to stream.

Parameters:
osOutput stream

Implemented in any::impl< T >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines