OSB_LIB::UsagerecordItem Class Reference

Inheritance diagram for OSB_LIB::UsagerecordItem:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Usagerecord item.

A specific class that derived from UsageItemBase. This class is specific to handle Usagerecord.

Definition at line 741 of file invoice.h.

Public Member Functions


Constructor & Destructor Documentation

OSB_LIB::UsagerecordItem::UsagerecordItem ( const Section section  )  [inline]

c'tor I.

Parameters:
section Section to use.

Definition at line 748 of file invoice.h.

OSB_LIB::UsagerecordItem::UsagerecordItem ( const Section section,
const ChargeTraits ct 
) [inline]

c'tor II.

Parameters:
section Section to use.
ct Set initial subtotal amount.

Definition at line 757 of file invoice.h.

OSB_LIB::UsagerecordItem::~UsagerecordItem (  ) 

Destructor: Deletes all the usage record detail.


Member Function Documentation

UsagerecordDetail* OSB_LIB::UsagerecordItem::newUsagerecordDetail ( const Amount a,
const Usagerecord ur 
)

Create a new usage detail for a usage item.

Parameters:
a Subtotal amount to set.
ur Usagerecord to add.
Returns:
Pointer to a newly created UsagerecordDetail.

UsagerecordDetail* OSB_LIB::UsagerecordItem::newUsagerecordDetail ( const Usagerecord ur  ) 

Create a new usage detail for a usage item (without amount).

Parameters:
ur Usagerecord to add.
Returns:
Pointer to a newly created UsagerecordDetail.

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

Function to call xml writer.

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

Implements OSB_LIB::UsageItemBase.

Definition at line 774 of file invoice.h.


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