#include <BankAccount.hpp>
Inheritance diagram for BankAccount:

Public Member Functions | |
| 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. | |
| bool | operator== (BankAccountCref) const |
| Equality operator. | |
| virtual AmountCref | getBalance (void) const |
| Retrieve the account balance. | |
| virtual void | withdrawFunds (Amount) throw (InsufficientFundsException) |
| Withdraw an amount of funds from the account. | |
| virtual void | depositFunds (Amount) throw (InsufficientFundsException) |
| Deposit funds into the account. | |
It maintains a available funds balance and enforces the semantic that you can no carry a negative balance.
|
|
Deposit funds into the account.
Implements AbstractBankAccount. |
|
|
Retrieve the account balance.
Implements AbstractBankAccount. |
|
|
Assignment operator.
|
|
|
Equality operator.
|
|
|
Withdraw an amount of funds from the account.
Implements AbstractBankAccount. |