#include <model.h>
Public Member Functions | |
virtual PyObject * | getattro (const Attribute &) |
PythonSolver (Solver *p) | |
virtual int | setattro (const Attribute &, const PythonObject &) |
Static Public Member Functions | |
static int | initialize (PyObject *m) |
static PyObject * | solve (PyObject *, PyObject *) |
Definition at line 6115 of file model.h.
frepple::PythonSolver::PythonSolver | ( | Solver * | p | ) | [inline] |
PyObject * frepple::PythonSolver::getattro | ( | const Attribute & | attr | ) | [virtual] |
Default getattro method.
Subclasses are expected to implement an override if the type supports gettattro.
Implements frepple::utils::FreppleCategory< PythonSolver, Solver >.
Definition at line 87 of file model/actions.cpp.
static int frepple::PythonSolver::initialize | ( | PyObject * | m | ) | [inline, static] |
Initialization method.
Reimplemented from frepple::utils::FreppleCategory< PythonSolver, Solver >.
int frepple::PythonSolver::setattro | ( | const Attribute & | attr, | |
const PythonObject & | field | |||
) | [virtual] |
Default setattro method.
Subclasses are expected to implement an override if the type supports settattro.
Implements frepple::utils::FreppleCategory< PythonSolver, Solver >.
Definition at line 98 of file model/actions.cpp.
PyObject * frepple::PythonSolver::solve | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
Definition at line 110 of file model/actions.cpp.