DAWorkbench
0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DAPyModuleNumpy.h
1
#ifndef DAPYMODULENUMPY_H
2
#define DAPYMODULENUMPY_H
3
#include "DAPyBindQtGlobal.h"
4
#include "DAPyModule.h"
5
namespace
DA
6
{
10
class
DAPYBINDQT_API
DAPyModuleNumpy
:
public
DAPyModule
11
{
12
DA_DECLARE_PRIVATE(
DAPyModuleNumpy
)
13
DAPyModuleNumpy
();
14
15
public
:
16
~DAPyModuleNumpy
();
17
//获取实例
18
static
DAPyModuleNumpy
& getInstance();
19
//析构
20
void
finalize();
21
//获取最后的错误
22
QString getLastErrorString();
23
//判断是否为numpy.generic
24
bool
isInstanceGeneric(
const
pybind11::object& obj)
const
;
25
bool
isInstanceNumber(
const
pybind11::object& obj)
const
;
26
bool
isInstanceInteger(
const
pybind11::object& obj)
const
;
27
bool
isInstanceInexact(
const
pybind11::object& obj)
const
;
28
bool
isInstanceDtype(
const
pybind11::object& obj)
const
;
29
30
public
:
31
//导入模块
32
bool
import
();
33
};
34
}
// namespace DA
35
#endif
// DANUMPY_H
DA::DAPyModuleNumpy
numpy
Definition
DAPyModuleNumpy.h:11
DA::DAPyModule
模块的基类
Definition
DAPyModule.h:13
DA
序列化类都是带异常的,使用中需要处理异常
Definition
AppMainWindow.cpp:44
src
DAPyBindQt
numpy
DAPyModuleNumpy.h
制作者
1.9.8