|
QwtPlot3D API
0.2.7
|
#include <qwt3d_io.h>
Classes | |
| struct | Entry |
| struct | FormatCompare |
| struct | FormatCompare2 |
| class | Functor |
| class | Wrapper |
| Lightweight Functor encapsulating an IO::Function. | |
Public Types | |
| typedef bool(* | Function )(Plot3D *, QString const &fname) |
Static Public Member Functions | |
| static bool | defineInputHandler (QString const &format, Function func) |
| static bool | defineOutputHandler (QString const &format, Function func) |
| static bool | defineInputHandler (QString const &format, Functor const &func) |
| static bool | defineOutputHandler (QString const &format, Functor const &func) |
| static bool | save (Plot3D *, QString const &fname, QString const &format) |
| static bool | load (Plot3D *, QString const &fname, QString const &format) |
| static QStringList | inputFormatList () |
| static QStringList | outputFormatList () |
| static Functor * | outputHandler (QString const &format) |
| static Functor * | inputHandler (QString const &format) |
IO provides a generic interface for standard and user written I/O handlers. It also provides functionality for the registering of such handlers in the framework.
The interface mimics roughly Qt's QImageIO functions for defining image input/output functions.
The function type that can be processed by the define... members. An extension is the IO::Functor.
| bool defineInputHandler | ( | QString const & | format, |
| IO::Functor const & | func | ||
| ) | [static] |
Registers a new Functor for data input.
Every call overwrites a formerly registered handler for the same format string (case sensitive).
| bool defineOutputHandler | ( | QString const & | format, |
| IO::Functor const & | func | ||
| ) | [static] |
Registers a new Functor for data output.
Every call overwrites a formerly registered handler for the same format string (case sensitive).
Applies a writing IO::Function or IO::Functor.
| plot | Plot with the content that should be saved |
| fname | File name |
| format | Output format |
Applies a reading IO::Function or IO::Functor.
| plot | Plot with the content that should be loaded |
| fname | File name |
| format | Input format |
| QStringList inputFormatList | ( | ) | [static] |
Returns a list of currently registered input formats.
| QStringList outputFormatList | ( | ) | [static] |
Returns a list of currently registered output formats.
| IO::Functor * outputHandler | ( | QString const & | format | ) | [static] |
Returns the output functor in charge for format and 0 if non-existent.
| IO::Functor * inputHandler | ( | QString const & | format | ) | [static] |
Returns the input functor in charge for format and 0 if non-existent.
1.7.6.1