Each derived class will deal with different type of Cdr. If there is a new type of Cdr, it will derived from this class.
One usage item represents one call and can contain several usage detail records.
Definition at line 647 of file invoice.h.
typedef std::vector<UsageDetailBase*> OSB_LIB::UsageItemBase::UsageDetailList |
typedef UsageDetailList::const_iterator OSB_LIB::UsageItemBase::UsageDetailListCI |
typedef UsageDetailList::iterator OSB_LIB::UsageItemBase::UsageDetailListI |
OSB_LIB::UsageItemBase::UsageItemBase | ( | const UsageItemBase & | rhs | ) | [private] |
Forbidden.
OSB_LIB::UsageItemBase::UsageItemBase | ( | const Section & | section | ) | [inline] |
OSB_LIB::UsageItemBase::UsageItemBase | ( | const Section & | section, | |
const ChargeTraits & | ct | |||
) | [inline] |
virtual OSB_LIB::UsageItemBase::~UsageItemBase | ( | ) | [inline, virtual] |
UsageItemBase& OSB_LIB::UsageItemBase::operator= | ( | const UsageItemBase & | rhs | ) | [private] |
Forbidden.
virtual void OSB_LIB::UsageItemBase::writeXml | ( | BillingXmlBase & | bXml | ) | const [pure virtual] |
Function to call xml writer.
Below is the sample implementation.
virtual void CdrItem::writeXml(BillingXmlBase& bXml) const { dynamic_cast<BillingXml&>(bXml).writeCdrItem(*this); }
Implements OSB_LIB::InvoiceItem.
Implemented in OSB_LIB::UsagerecordItem, and OSB_LIB::SumCdr01Item.