This class is growing hand in hand with UsageItemBase. This class will be derived when there is a new type of Cdr.
Definition at line 707 of file invoice.h.
OSB_LIB::UsageDetailBase::UsageDetailBase | ( | ) | [inline] |
OSB_LIB::UsageDetailBase::UsageDetailBase | ( | const Amount & | a | ) | [inline] |
virtual OSB_LIB::UsageDetailBase::~UsageDetailBase | ( | ) | [inline, virtual] |
virtual void OSB_LIB::UsageDetailBase::writeXml | ( | BillingXmlBase & | bXml | ) | const [pure virtual] |
Function to call xml writer.
Below is the sample code:
virtual void writeXml(BillingXmlBase& bXml) const { dynamic_cast<BillingXml&>(bXml).writeCdrDetail(*this); }
Implemented in OSB_LIB::SumCdr01Detail, and OSB_LIB::UsagerecordDetail.