This abstracts class represents customers. More...
#include <model.h>
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 MetaClass & | getType () 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 MetaCategory * | metadata |
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 1409 of file model.h.
frepple::Customer::~Customer | ( | ) | [virtual] |
Definition at line 94 of file customer.cpp.
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.
PyObject * frepple::Customer::getattro | ( | const Attribute & | attr | ) | [virtual] |
Definition at line 102 of file customer.cpp.
virtual const MetaClass& frepple::Customer::getType | ( | ) | const [inline, virtual] |
Reimplemented in frepple::CustomerDefault.
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] |
Definition at line 120 of file customer.cpp.
Reimplemented from frepple::utils::HasDescription.
Definition at line 62 of file customer.cpp.
const MetaCategory * frepple::Customer::metadata [static] |
Reimplemented in frepple::CustomerDefault.