frepple::PythonDemand Class Reference

#include <model.h>

Inheritance diagram for frepple::PythonDemand:
frepple::utils::FreppleCategory< PythonDemand, Demand > frepple::utils::PythonExtension< T > frepple::utils::PythonExtensionBase frepple::utils::NonCopyable

List of all members.

Public Member Functions

virtual PyObject * getattro (const Attribute &)
 PythonDemand (Demand *p)
virtual int setattro (const Attribute &, const PythonObject &)

Detailed Description

Definition at line 5718 of file model.h.


Constructor & Destructor Documentation

frepple::PythonDemand::PythonDemand ( Demand p  )  [inline]

Definition at line 5721 of file model.h.


Member Function Documentation

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.


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

Generated on 25 Feb 2010 for frePPLe by  doxygen 1.6.1