

A specific class that derived from OSB_LIB::UsageItemBase. This class is specific to handle SumCdr01.
Definition at line 810 of file invoice.h.
| OSB_LIB::SumCdr01Item::SumCdr01Item | ( | const Section & | section | ) | [inline] |
| OSB_LIB::SumCdr01Item::SumCdr01Item | ( | const Section & | section, | |
| const ChargeTraits & | ct | |||
| ) | [inline] |
| OSB_LIB::SumCdr01Item::~SumCdr01Item | ( | ) |
Delete all the usage record detail. d'tor.
The d'tor will delete all the usage record detail. Below is the sample code:
~SumCdr01Item() { for (UsageDetailListI i=details.begin(); i != details.end(); ++i) { delete *i; } details.clear(); }
| SumCdr01Detail* OSB_LIB::SumCdr01Item::newSumCdr01Detail | ( | const Amount & | a, | |
| const SumCdr01 * | cdr | |||
| ) |
| SumCdr01Detail* OSB_LIB::SumCdr01Item::newSumCdr01Detail | ( | const SumCdr01 * | cdr | ) |
Create a new usage detail for a usage item (without amount).
| cdr | SumCdr01 to add. |
| virtual void OSB_LIB::SumCdr01Item::writeXml | ( | BillingXmlBase & | bXml | ) | const [inline, virtual] |
Function to call xml writer.
virtual void writeXml(BillingXmlBase& bXml) const { dynamic_cast<BillingXml&>(bXml).writeSumCdr01Item(*this); }
Implements OSB_LIB::UsageItemBase.
1.4.7