frepple::PythonSolver Class Reference

#include <model.h>

Inheritance diagram for frepple::PythonSolver:
frepple::utils::FreppleCategory< PythonSolver, Solver > frepple::utils::PythonExtension< T > frepple::utils::PythonExtensionBase frepple::utils::NonCopyable

List of all members.

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 *)

Detailed Description

Definition at line 6115 of file model.h.


Constructor & Destructor Documentation

frepple::PythonSolver::PythonSolver ( Solver p  )  [inline]

Definition at line 6123 of file model.h.


Member Function Documentation

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 >.

Definition at line 6118 of file model.h.

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.


The documentation for this class was generated from the following files:

Generated on 25 Sep 2009 for frePPLe by  doxygen 1.6.1