3#include "DAPyBindQtGlobal.h"
4#include "DAPyObjectWrapper.h"
7#include "DAPybind11InQt.h"
48 static bool isDtypeObj(
const pybind11::object& obj);
49 DAPyDType& operator=(
const pybind11::dtype& obj);
50 DAPyDType& operator=(
const pybind11::object& obj);
53 bool operator==(
const DAPyDType& other)
const;
54 bool operator!=(
const DAPyDType& other)
const;
58 pybind11::object type(
const QVariant& v)
const;
72 bool isTimedelta()
const;
73 bool isDatetime()
const;
74 bool isComplex()
const;
77 bool isNumeral()
const;
81 static QStringList dtypeNames();
85 void checkObjectValid();
89DAPYBINDQT_API QDebug operator<<(QDebug dbg,
const DA::DAPyDType& d);
对numpy.dtype的封装
Definition DAPyDType.h:37
这是针对pubind11::object的封装
Definition DAPyObjectWrapper.h:15
序列化类都是带异常的,使用中需要处理异常
Definition AppMainWindow.cpp:44