QwtPlot3D API  0.2.7
Public Member Functions | List of all members
IO::Functor Class Referenceabstract

#include <qwt3d_io.h>

Inheritance diagram for IO::Functor:
NativeReader PixmapWriter VectorWriter

Public Member Functions

virtual Functorclone () const =0
 
virtual bool operator() (Plot3D *plot, QString const &fname)=0
 

Detailed Description

This class gives more flexibility in implementing userdefined IO handlers than the simple IO::Function type.

Member Function Documentation

virtual Functor* clone ( ) const
pure virtual

Must clone the content of *this for an object of a derived class with new and return the pointer. Like operator() the predefined Functors hide this function from the user, still allowing IO access (friend declaration)

virtual bool operator() ( Plot3D plot,
QString const &  fname 
)
pure virtual

The workhorse of the user-defined implementation. Eventually, the framework will call this operator.


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