#include <BankAccount.hpp>
Inheritance diagram for BankAccount


Public Methods | |
| BankAccount ( void ) | |
| Default constructor. | |
| BankAccount ( AmountCref ) throw ( InvalidAmountException ) | |
| Starting balance constructor. | |
| BankAccount ( BankAccountCref ) | |
| Copy constructor. | |
| virtual | ~BankAccount ( void ) |
| Virtual destructor. | |
| BankAccountRef | operator= ( BankAccountCref ) |
| Assignment operator. More... | |
| bool | operator== ( BankAccountCref ) const |
| Equality operator. More... | |
| virtual AmountCref | getBalance (void) const |
| Retrieve the account balance. More... | |
| virtual void | withdrawFunds (Amount) throw (InsufficientFundsException) |
| Withdraw an amount of funds from the account. More... | |
| virtual void | depositFunds (Amount) throw (InsufficientFundsException) |
| Deposit funds into the account. More... | |
It maintains a available funds balance and enforces the semantic that you can no carry a negative balance.
|
|
Deposit funds into the account.
Reimplemented from AbstractBankAccount. |
|
|
Retrieve the account balance.
Reimplemented from AbstractBankAccount. |
|
|
Assignment operator.
|
|
|
Equality operator.
|
|
|
Withdraw an amount of funds from the account.
Reimplemented from AbstractBankAccount. |