frepple::PythonResource Class Reference

#include <model.h>

Inheritance diagram for frepple::PythonResource:
frepple::utils::FreppleCategory< PythonResource, Resource > frepple::utils::PythonExtension< T > frepple::utils::PythonExtensionBase frepple::utils::NonCopyable

List of all members.

Public Member Functions

virtual PyObject * getattro (const Attribute &)
 PythonResource (Resource *p)
virtual int setattro (const Attribute &, const PythonObject &)

Detailed Description

Definition at line 5748 of file model.h.


Constructor & Destructor Documentation

frepple::PythonResource::PythonResource ( Resource p  )  [inline]

Definition at line 5751 of file model.h.


Member Function Documentation

PyObject * frepple::PythonResource::getattro ( const Attribute attr  )  [virtual]

Default getattro method.
Subclasses are expected to implement an override if the type supports gettattro.

Implements frepple::utils::FreppleCategory< PythonResource, Resource >.

Definition at line 230 of file resource.cpp.

int frepple::PythonResource::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< PythonResource, Resource >.

Definition at line 263 of file resource.cpp.


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

Generated on 25 Feb 2010 for frePPLe by  doxygen 1.6.1