#include <AbstractBankAccount.hpp>
Inheritance diagram for AbstractBankAccount
Public Methods | |
AbstractBankAccount ( void ) | |
Default constructor. | |
AbstractBankAccount ( AbstractBankAccountCref aRef ) | |
Copy constructor. | |
virtual | ~AbstractBankAccount ( void ) |
Virtual Destructor. | |
AbstractBankAccountRef | operator= ( AbstractBankAccountCref aRef ) |
Assignment operator. More... | |
bool | operator== ( AbstractBankAccountCref aRef ) const |
Equality operator. More... | |
virtual AmountCref | getBalance ( void ) const = 0 |
Retrieve the account balance. More... | |
virtual void | withdrawFunds ( Amount ) = 0 throw (InsufficientFundsException) |
Withdraw an amount of funds from the account. More... | |
virtual void | depositFunds ( Amount ) = 0 throw (InsufficientFundsException) |
Deposit funds into the account. More... |
Common methods such as withdrawing and depositing funds are made available, as well as retrieving the balance of the account.
|
Deposit funds into the account.
Reimplemented in AccountProxy, and BankAccount. |
|
Retrieve the account balance.
Reimplemented in AccountProxy, and BankAccount. |
|
Assignment operator.
|
|
Equality operator.
|
|
Withdraw an amount of funds from the account.
Reimplemented in AccountProxy, BankAccount, and RestrictedAccountProxy. |