QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
| Public 类型 | 静态 Public 成员函数 | 所有成员列表
Qwt3D::IO类 参考

标准和用户自定义 I/O 处理器的通用接口 更多...

#include <qwt3d_io.h>

class  Functor
 更灵活的 IO 处理器实现的 Functor更多...
 

Public 类型

using Function = bool(*)(Plot3D *, QString const &fname)
 

静态 Public 成员函数

static bool defineInputHandler (QString const &format, Function func)
 注册新的数据输入 IO::Function
 
static bool defineOutputHandler (QString const &format, Function func)
 注册新的数据输出 IO::Function
 
static bool defineInputHandler (QString const &format, Functor const &func)
 注册新的数据输入 Functor
 
static bool defineOutputHandler (QString const &format, Functor const &func)
 注册新的数据输出 Functor
 
static bool save (Plot3D *, QString const &fname, QString const &format)
 应用数据写入 IO::Function 或 IO::Functor
 
static bool load (Plot3D *, QString const &fname, QString const &format)
 应用数据读取 IO::Function 或 IO::Functor
 
static QStringList inputFormatList ()
 返回当前已注册的输入格式列表
 
static QStringList outputFormatList ()
 返回当前已注册的输出格式列表
 
static FunctoroutputHandler (QString const &format)
 返回负责指定格式的输出仿函数
 
static FunctorinputHandler (QString const &format)
 返回负责指定格式的输入仿函数
 

详细描述

标准和用户自定义 I/O 处理器的通用接口

成员函数说明

◆ defineInputHandler() [1/2]

bool IO::defineInputHandler ( QString const &  format,
IO::Function  func 
)
static

注册新的数据输入 IO::Function

◆ defineInputHandler() [2/2]

bool IO::defineInputHandler ( QString const &  format,
IO::Functor const &  func 
)
static

注册新的数据输入 Functor

◆ defineOutputHandler() [1/2]

bool IO::defineOutputHandler ( QString const &  format,
IO::Function  func 
)
static

注册新的数据输出 IO::Function

◆ defineOutputHandler() [2/2]

bool IO::defineOutputHandler ( QString const &  format,
IO::Functor const &  func 
)
static

注册新的数据输出 Functor

◆ inputFormatList()

QStringList IO::inputFormatList ( )
static

返回当前已注册的输入格式列表

◆ inputHandler()

IO::Functor * IO::inputHandler ( QString const &  format)
static

返回负责指定格式的输入仿函数

◆ load()

bool IO::load ( Plot3D plot,
QString const &  fname,
QString const &  format 
)
static

应用数据读取 IO::Function 或 IO::Functor

◆ outputFormatList()

QStringList IO::outputFormatList ( )
static

返回当前已注册的输出格式列表

◆ outputHandler()

IO::Functor * IO::outputHandler ( QString const &  format)
static

返回负责指定格式的输出仿函数

◆ save()

bool IO::save ( Plot3D plot,
QString const &  fname,
QString const &  format 
)
static

应用数据写入 IO::Function 或 IO::Functor


该类的文档由以下文件生成: