|
HepMC3 event record library
|
#include <cast.h>
Collaboration diagram for simple_collector< policy >:Public Member Functions | |
| template<typename... Ts> | |
| simple_collector (Ts &&...values) | |
| const tuple & | args () const & |
| dict | kwargs () const |
| tuple | args () && |
| object | call (PyObject *ptr) const |
| Call a Python function and pass the collected arguments. More... | |
Private Attributes | |
| tuple | m_args |
Helper class which collects only positional arguments for a Python function call. A fancier version below can collect any argument, but this one is optimal for simple calls.
|
inline |
Call a Python function and pass the collected arguments.
Definition at line 2031 of file cast.h.
References handle::ptr().
1.8.14