GitHub Viewer
/***************************
@Author: Chunel
@Contact: chunel@foxmail.com
@File: PywGSome.h
@Time: 2026/7/4 15:13
@Desc:
***************************/
#ifndef CGRAPH_PYWGSOME_H
#define CGRAPH_PYWGSOME_H
#include
#include "CGraph.h"
#include "PyWrapperMacro.h"
class PywGSome : public CGraph::GSome {
public:
explicit PywGSome(const CGraph::GElementPtrArr& elements = CGraph::GElementPtrArr{}) {
__addGElements_4py(elements);
}
~PywGSome() override = default;
CSize getThreshold() override {
PYBIND11_OVERLOAD_PURE(CSize, PywGSome, getThreshold);
}
};
PYCGRAPH_DECLARE_GGROUP_INTERFACE_CLASS(PywGSome,
CSize getThreshold() override {
PYBIND11_OVERLOAD_PURE(CSize, PywGSomeInterface, getThreshold);
});
#endif //CGRAPH_PYWGSOME_H