OSB_LIB::Amount Class Reference

Inheritance diagram for OSB_LIB::Amount:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

An Amount contains all information needed at billing time to process, well, an amount.

Definition at line 215 of file amount.h.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_LIB::Amount::Amount (  )  [inline]

c'tor.

Definition at line 218 of file amount.h.

OSB_LIB::Amount::Amount ( const ChargeTraits ct,
const Money p,
const Date dt = Date() 
) [inline]

c'tor II.

Definition at line 220 of file amount.h.

OSB_LIB::Amount::Amount ( const Amount rhs  )  [inline]

c'tor III.

Definition at line 226 of file amount.h.

OSB_LIB::Amount::~Amount (  )  [inline]

d'tor.

Definition at line 231 of file amount.h.


Member Function Documentation

bool OSB_LIB::Amount::accumulateTaxes (  )  [inline, virtual]

Accumulate taxes.

Implements OSB_LIB::BaseAmount.

Definition at line 237 of file amount.h.

References OSB_LIB::BaseAmount::taxesReady().

Amount& OSB_LIB::Amount::operator+= ( const Money  ) 

Amount& OSB_LIB::Amount::operator= ( const Amount rhs  ) 

c'tor IV.

void OSB_LIB::Amount::precise ( MoneyList ml  )  const [virtual]

Returns rounded amounts by currency.

Implements OSB_LIB::BaseAmount.

void OSB_LIB::Amount::rounded ( MoneyList ml  )  const [virtual]

Returns rounded amounts by currency.

Implements OSB_LIB::BaseAmount.

virtual std::ostream& OSB_LIB::Amount::write ( std::ostream &   )  const [virtual]

Implements OSB_LIB::BaseAmount.


Member Data Documentation

Decimal OSB_LIB::Amount::precise_ [private]

Precise amount.

Definition at line 250 of file amount.h.


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