frepple::FlowEnd Class Reference

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>

Inheritance diagram for frepple::FlowEnd:
frepple::Flow frepple::utils::Object frepple::utils::Association< A, B, C >::Node frepple::Solvable frepple::utils::PythonExtensionBase

List of all members.

Public Member Functions

 FlowEnd ()
 FlowEnd (Operation *o, Buffer *b, double q)
virtual Date getFlowplanDate (const FlowPlan *fl) const
virtual size_t getSize () const
virtual const MetaClassgetType () const
virtual void solve (Solver &s, void *v=NULL) const
virtual void writeElement (XMLOutput *, const Keyword &, mode=DEFAULT) const

Static Public Attributes

static const MetaClassmetadata

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.

Definition at line 3463 of file model.h.


Constructor & Destructor Documentation

frepple::FlowEnd::FlowEnd ( Operation o,
Buffer b,
double  q 
) [inline, explicit]

Constructor.

Definition at line 3467 of file model.h.

frepple::FlowEnd::FlowEnd (  )  [inline, explicit]

This constructor is called from the plan begin_element function.

Definition at line 3470 of file model.h.


Member Function Documentation

Date frepple::FlowEnd::getFlowplanDate ( const FlowPlan fl  )  const [inline, virtual]

This method holds the logic the compute the date of a flowplan.

Reimplemented from frepple::Flow.

Definition at line 3585 of file model.h.

virtual size_t frepple::FlowEnd::getSize (  )  const [inline, virtual]

Return the memory size of the object in bytes.

Reimplemented from frepple::Flow.

Definition at line 3481 of file model.h.

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.

Definition at line 3479 of file model.h.

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.

Definition at line 3477 of file model.h.

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.

Definition at line 341 of file flow.cpp.


Member Data Documentation

Reimplemented from frepple::Flow.

Definition at line 3480 of file model.h.


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

Generated on 21 Mar 2010 for frePPLe by  doxygen 1.6.1