This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at end date of the operation. More...
#include <model.h>

Public Member Functions | |
FlowEnd (Operation *o, Buffer *b, double q) | |
FlowEnd (Operation *o, Buffer *b, double q, DateRange e) | |
FlowEnd () | |
virtual Date | getFlowplanDate (const FlowPlan *fl) const |
virtual size_t | getSize () const |
virtual const MetaClass & | getType () const |
virtual void | solve (Solver &s, void *v=NULL) const |
virtual void | writeElement (XMLOutput *, const Keyword &, mode=DEFAULT) const |
Static Public Attributes | |
static const MetaClass * | metadata |
Detailed Description
This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at end date of the operation.
Constructor & Destructor Documentation
frepple::FlowEnd::FlowEnd | ( | ) | [inline, explicit] |
Member Function Documentation
This method holds the logic the compute the date of a flowplan.
Reimplemented from frepple::Flow.
virtual size_t frepple::FlowEnd::getSize | ( | ) | const [inline, virtual] |
Return the memory size of the object in bytes.
Reimplemented from frepple::Flow.
virtual const MetaClass& frepple::FlowEnd::getType | ( | ) | const [inline, virtual] |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Flow.
virtual void frepple::FlowEnd::solve | ( | Solver & | s, |
void * | v = NULL |
||
) | const [inline, virtual] |
This method is called by solver classes. The implementation of this class simply calls the solve method on the solver class. Using the polymorphism the solver can implement seperate methods for different plannable subclasses.
Reimplemented from frepple::Flow.
void frepple::FlowEnd::writeElement | ( | XMLOutput * | , |
const Keyword & | , | ||
mode | = DEFAULT |
||
) | const [virtual] |
Called while writing the model into an XML-file. The user class should write itself out, using the IOutStream members for its "simple" members and calling writeElement recursively for any contained objects. Not all classes are expected to implement this method. In instances of such a class can be created but can't be persisted. E.g. Command
Reimplemented from frepple::Flow.
Member Data Documentation
const MetaClass * frepple::FlowEnd::metadata [static] |
Reimplemented from frepple::Flow.
The documentation for this class was generated from the following files:
Documentation generated for frePPLe by
