OSB_LIB::AssociateInfo Class Reference

Inheritance diagram for OSB_LIB::AssociateInfo:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::AssociateInfo:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class InfoItem.

Info item is just a "InvoiceItem-wrapper" around any dataclass with information that should be printed on the invoice.

Note:
For each of these dataclasses, we require a corresponding writeInfo() function at the BillingXml (or derived) class. The InfoItem does _not_ own the memory pointed to by t but depends on this pointer pointing to a properly initialised type during the whole lifetime of the InfoItem.

Definition at line 1041 of file invoice.h.

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

OSB_LIB::AssociateInfo::AssociateInfo ( const Section section,
const Associate ass 
) [inline]

Definition at line 1043 of file invoice.h.


Member Function Documentation

virtual void OSB_LIB::AssociateInfo::writeXml ( BillingXmlBase bXml  )  const [inline, virtual]

Function to call the appropriate xml writer for each specific invoice item.

This function is call by BillingXmlBase::writeInvoice when it browses through all invoice item and call billingXml funtion for each of them.

Below is the sample code on how each invoice item writeXml call it's xml writer function.

         virtual void UsagerecordItem::writeXml(BillingXmlBase& bXml) const
         {
             dynamic_cast<BillingXml&>(bXml).writeUsagerecordItem(*this);
         }

Parameters:
bXml Xml writer to use.

Implements OSB_LIB::InvoiceItem.

Definition at line 1046 of file invoice.h.

References associate.


Member Data Documentation

const Associate* OSB_LIB::AssociateInfo::associate

Definition at line 1052 of file invoice.h.

Referenced by writeXml().


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:10:16 2006 for OSB Library by  doxygen 1.4.7