#include <model.h>
Public Member Functions | |
virtual PyObject * | getattro (const Attribute &) |
PythonDemand (Demand *p) | |
virtual int | setattro (const Attribute &, const PythonObject &) |
Definition at line 5718 of file model.h.
frepple::PythonDemand::PythonDemand | ( | Demand * | p | ) | [inline] |
PyObject * frepple::PythonDemand::getattro | ( | const Attribute & | attr | ) | [virtual] |
Default getattro method.
Subclasses are expected to implement an override if the type supports gettattro.
Implements frepple::utils::FreppleCategory< PythonDemand, Demand >.
Definition at line 310 of file demand.cpp.
int frepple::PythonDemand::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< PythonDemand, Demand >.
Definition at line 349 of file demand.cpp.