|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
Generic interface for standard and user written I/O handlers. More...
#include <qwt3d_io.h>
Classes | |
| class | Functor |
| Functor class for more flexible IO handler implementation. More... | |
Public Types | |
| using | Function = bool(*)(Qwt3DPlot *, QString const &fname) |
Static Public Member Functions | |
| static bool | defineInputHandler (QString const &format, Function func) |
| Registers a new Qwt3DIO::Function for data input. | |
| static bool | defineOutputHandler (QString const &format, Function func) |
| Registers a new Qwt3DIO::Function for data output. | |
| static bool | defineInputHandler (QString const &format, Functor const &func) |
| Registers a new Functor for data input. | |
| static bool | defineOutputHandler (QString const &format, Functor const &func) |
| Registers a new Functor for data output. | |
| static bool | save (Qwt3DPlot *, QString const &fname, QString const &format) |
| Applies a writing Qwt3DIO::Function or Qwt3DIO::Functor. | |
| static bool | load (Qwt3DPlot *, QString const &fname, QString const &format) |
| Applies a reading Qwt3DIO::Function or Qwt3DIO::Functor. | |
| static QStringList | inputFormatList () |
| Returns a list of currently registered input formats. | |
| static QStringList | outputFormatList () |
| Returns a list of currently registered output formats. | |
| static Functor * | outputHandler (QString const &format) |
| Returns the output functor in charge for format. | |
| static Functor * | inputHandler (QString const &format) |
| Returns the input functor in charge for format. | |
Generic interface for standard and user written I/O handlers.
Qwt3DIO 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.
|
static |
Registers a new Qwt3DIO::Function for data input.
| format | Format string identifier |
| func | Input handler function |
Every call overwrites a formerly registered handler for the same format string (case sensitive).
|
static |
Registers a new Functor for data input.
| format | Format string identifier |
| func | Input handler functor |
Every call overwrites a formerly registered handler for the same format string (case sensitive).
|
static |
Registers a new Qwt3DIO::Function for data output.
| format | Format string identifier |
| func | Output handler function |
Every call overwrites a formerly registered handler for the same format string (case sensitive).
|
static |
Registers a new Functor for data output.
| format | Format string identifier |
| func | Output handler functor |
Every call overwrites a formerly registered handler for the same format string (case sensitive).
|
static |
Returns a list of currently registered input formats.
|
static |
Returns the input functor in charge for format.
| format | Format string identifier |
|
static |
Applies a reading Qwt3DIO::Function or Qwt3DIO::Functor.
| plot | Plot with the content that should be loaded |
| fname | File name |
| format | Input format |
|
static |
Returns a list of currently registered output formats.
|
static |
Returns the output functor in charge for format.
| format | Format string identifier |
|
static |
Applies a writing Qwt3DIO::Function or Qwt3DIO::Functor.
| plot | Plot with the content that should be saved |
| fname | File name |
| format | Output format |