ppap4lmp  0.7.2
py_fil_set.cpp
Go to the documentation of this file.
1 
8 #include "py_fil_set.h"
9 
10 void pybind::py_fil_set(py::module &m)
11 {
12  py::class_<FilSet,PyUpdater<FilSet>,Filter,Updater,ShPtr<FilSet>>(m, "FilSet")
13  .def(py::init<const Map<Str,Set<Json>> &>());
14 }
This file is for binding FilSet class to Python.
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::string Str
Str is an alias for string.
Definition: std.h:21
std::unordered_set< T > Set
Set is an alias for unordered set (same as set in Python).
Definition: std.h:49
void py_fil_set(py::module &m)
Bind FilSet class to Python.
Definition: py_fil_set.cpp:10
std::shared_ptr< T > ShPtr
ShPtr is an alias for shared pointer.
Definition: std.h:16
std::unordered_map< T, U > Map
Map is an alias for unordered map (same as dict in Python).
Definition: std.h:38