This class provides an efficient way to iterate over the plan of a resource aggregated in time buckets. More...
#include <model.h>
Public Member Functions | |
PlanIterator (Resource *, PyObject *) | |
~PlanIterator () | |
![]() | |
PythonExtension () | |
virtual | ~PythonExtension () |
![]() | |
virtual PyObject * | call (const PythonObject &args, const PythonObject &kwds) |
virtual int | compare (const PyObject *other) const |
virtual PyObject * | getattro (const Attribute &attr) |
Py_ssize_t | getReferenceCount () const |
void | initType (const MetaClass *t) |
void | initType (PyTypeObject *t) |
PythonExtensionBase () | |
void | resetReferenceCount () |
virtual int | setattro (const Attribute &attr, const PythonObject &field) |
virtual PyObject * | str () const |
virtual | ~PythonExtensionBase () |
Static Public Member Functions | |
static int | initialize () |
![]() | |
static void | deallocator (PyObject *o) |
static PythonType & | getType () |
Additional Inherited Members | |
![]() | |
NonCopyable () | |
~NonCopyable () | |
![]() | |
static PythonType * | registerPythonType (int, const type_info *) |
![]() | |
static vector< PythonType * > | table |
This class provides an efficient way to iterate over the plan of a resource aggregated in time buckets.
frepple::Resource::PlanIterator::PlanIterator | ( | Resource * | r, |
PyObject * | o | ||
) |
Constructor. The first argument is the resource whose plan we're looking at. The second argument is a Python iterator over a list of dates. These dates define the buckets at which we aggregate the resource plan.
Definition at line 519 of file resource.cpp.
frepple::Resource::PlanIterator::~PlanIterator | ( | ) |
Destructor.
Definition at line 567 of file resource.cpp.
|
static |
Definition at line 508 of file resource.cpp.