This class represents a material buffer with an infinite supply of extra material. More...

#include <model.h>

Inheritance diagram for frepple::BufferInfinite:

List of all members.

Public Member Functions

 BufferInfinite (const string &c)
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 Member Functions

static int initialize ()

Static Public Attributes

static const MetaClassmetadata

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.

Definition at line 2917 of file model.h.


Constructor & Destructor Documentation

frepple::BufferInfinite::BufferInfinite ( const string &  c) [inline, explicit]

Definition at line 2925 of file model.h.


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.

Definition at line 2923 of file model.h.

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.

Definition at line 2922 of file model.h.

int frepple::BufferInfinite::initialize ( ) [static]

Initialize the class.

Reimplemented from frepple::Buffer.

Definition at line 72 of file buffer.cpp.

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.

Definition at line 2920 of file model.h.

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

Reimplemented from frepple::Buffer.

Definition at line 2927 of file model.h.


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

Documentation generated for frePPLe by  doxygen