invoice.h File Reference


Detailed Description

OSB library, Invoice, InvoiceItem.

Version:
Name
OSB_060808
Revision
1.83
Invoice is the what its name suggests. It is the master of all InvoiceItems. Functionality provided by Invoice is: + newXXXItem() members to add invoice items. These functions allocate memory and return a pointer to the newly created invoice item. + ToDo: document the rest The invoice stores InvoiceItems in an ItemMap. The ItemMap container works like a STL multimap except that for each key, you can specify a separate sort criteria according to which all items with this key are ordered. InvoiceItem is an abstract base class that provides the interface common to all invoice items. Derived classes include UsageItem, AdvanceChargeItem, TotalItem, etc. The invoice provides certain support for these predefined invoice items: create new item, a separate list of all items of a given type, subtotals per item type. However it should be possible to add new invoice item types without the need to change class Invoice.

Definition in file invoice.h.

Go to the source code of this file.

Namespaces

Classes

Enumerations


Generated on Sat Sep 2 14:06:35 2006 for OSB Library by  doxygen 1.4.7