This abstracts class represents customers. More...

#include <model.h>

Inheritance diagram for frepple::Customer:

List of all members.

Public Member Functions

void beginElement (XMLInput &, const Attribute &)
 Customer (const string &n)
void endElement (XMLInput &, const Attribute &, const DataElement &)
size_t extrasize () const
virtual PyObject * getattro (const Attribute &)
virtual const MetaClassgetType () const
virtual int setattro (const Attribute &, const PythonObject &)
void writeElement (XMLOutput *, const Keyword &, mode=DEFAULT) const
virtual ~Customer ()

Static Public Member Functions

static int initialize ()

Static Public Attributes

static const MetaCategorymetadata

Detailed Description

This abstracts class represents customers.

Demands can be associated with a customer, but there is no planning behavior directly linked to customers.

Definition at line 1459 of file model.h.


Constructor & Destructor Documentation

frepple::Customer::Customer ( const string &  n) [inline]

Definition at line 1469 of file model.h.

frepple::Customer::~Customer ( ) [virtual]

Definition at line 94 of file customer.cpp.


Member Function Documentation

void frepple::Customer::beginElement ( XMLInput ,
const Attribute  
) [virtual]

Called while restoring the model from an XML-file.
This is called for each element within the "this" element, for which the "this" element is immediate parent.
It is called when the open element tag is encountered.

Reimplemented from frepple::utils::HasHierarchy< Customer >.

Definition at line 81 of file customer.cpp.

void frepple::Customer::endElement ( XMLInput pIn,
const Attribute pAttr,
const DataElement pElement 
)

Reimplemented from frepple::utils::HasDescription.

Definition at line 87 of file customer.cpp.

size_t frepple::Customer::extrasize ( ) const [inline]

Returns the memory size in bytes.

Reimplemented from frepple::utils::HasDescription.

Definition at line 1467 of file model.h.

PyObject * frepple::Customer::getattro ( const Attribute attr) [virtual]

Default getattro method.
Subclasses are expected to implement an override if the type supports gettattro.

Reimplemented from frepple::utils::PythonExtensionBase.

Definition at line 102 of file customer.cpp.

virtual const MetaClass& frepple::Customer::getType ( ) const [inline, virtual]

This returns the type information on the object, a bit similar to the standard type_info information.

Implements frepple::utils::Object.

Reimplemented in frepple::CustomerDefault.

Definition at line 1471 of file model.h.

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

Reimplemented in frepple::CustomerDefault.

Definition at line 39 of file customer.cpp.

int frepple::Customer::setattro ( const Attribute attr,
const PythonObject field 
) [virtual]

Default setattro method.
Subclasses are expected to implement an override if the type supports settattro.

Reimplemented from frepple::utils::PythonExtensionBase.

Definition at line 122 of file customer.cpp.

void frepple::Customer::writeElement ( XMLOutput o,
const Keyword tag,
mode  m = DEFAULT 
) const

Reimplemented from frepple::utils::HasDescription.

Definition at line 62 of file customer.cpp.


Member Data Documentation

Reimplemented in frepple::CustomerDefault.

Definition at line 1472 of file model.h.


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

Documentation generated for frePPLe by  doxygen