This class represents a material buffer with an infinite supply of extra material. More...
#include <model.h>

Public Member Functions | |
BufferInfinite (const string &c) | |
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 Member Functions | |
static int | initialize () |
Static Public Attributes | |
static const MetaClass * | metadata |
Detailed Description
This class represents a material buffer with an infinite supply of extra material.
In other words, it never constrains the plan and it doesn't propagate any requirements upstream.
Constructor & Destructor Documentation
frepple::BufferInfinite::BufferInfinite | ( | const string & | c | ) | [inline, explicit] |
Member Function Documentation
virtual size_t frepple::BufferInfinite::getSize | ( | ) | const [inline, virtual] |
Return the memory size of the object in bytes.
Implements frepple::utils::Object.
virtual const MetaClass& frepple::BufferInfinite::getType | ( | ) | const [inline, virtual] |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Buffer.
int frepple::BufferInfinite::initialize | ( | ) | [static] |
virtual void frepple::BufferInfinite::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::Buffer.
void frepple::BufferInfinite::writeElement | ( | XMLOutput * | o, |
const Keyword & | tag, | ||
mode | m = DEFAULT |
||
) | const [virtual] |
Reimplemented from frepple::Buffer.
Definition at line 684 of file buffer.cpp.
Member Data Documentation
const MetaClass * frepple::BufferInfinite::metadata [static] |
Reimplemented from frepple::Buffer.
The documentation for this class was generated from the following files:
Documentation generated for frePPLe by
