ppap4lmp  0.7.2
py_fil_comparison.cpp
Go to the documentation of this file.
1 
8 #include "py_fil_comparison.h"
9 
10 void pybind::py_fil_comparison(py::module &m)
11 {
12  py::class_<FilComparison,PyUpdater<FilComparison>,Filter,Updater,ShPtr<FilComparison>>(m, "FilComparison")
13  .def(py::init<const std::tuple<Str,Str,Json> &>())
14  .def(py::init<const Vec<std::tuple<Str,Str,Json>> &>());
15 }
Updater is an abstract class to update data held by an Element object.
Definition: updater.h:34
Filter removes elements from array Element::data if the elements fail user-defined criteria...
Definition: filter.h:25
std::vector< T > Vec
Vec is an alias for vector (same as list in Python).
Definition: std.h:27
void py_fil_comparison(py::module &m)
Bind FilComparison class to Python.
This file is for binding FilComparison class to Python.
std::shared_ptr< T > ShPtr
ShPtr is an alias for shared pointer.
Definition: std.h:16