frepple::Resource::PlanIterator Class Reference

This class provides an efficient way to iterate over the plan of a resource aggregated in time buckets. More...

#include <model.h>

Inheritance diagram for frepple::Resource::PlanIterator:

List of all members.

Public Member Functions

 PlanIterator (Resource *, PyObject *)
 ~PlanIterator ()

Static Public Member Functions

static int initialize ()

Detailed Description

This class provides an efficient way to iterate over the plan of a resource aggregated in time buckets.

Definition at line 3879 of file model.h.


Constructor & Destructor Documentation

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 500 of file resource.cpp.

frepple::Resource::PlanIterator::~PlanIterator ( )

Destructor.

Definition at line 548 of file resource.cpp.


Member Function Documentation

int frepple::Resource::PlanIterator::initialize ( ) [static]

Definition at line 489 of file resource.cpp.


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

Documentation generated for frePPLe by  doxygen