RestrictedAccountProxy3
Restrictedaccountproxy is a read/write access proxy with limitations, you can make deposits but you can't withdraw funds!
Usage
#include <RestrictedAccountProxy.hpp>
Inherits AccountProxy.
Public Member Functions
RestrictedAccountProxy (void)
Default constructor. RestrictedAccountProxy (AbstractBankAccountPtr)
Initializing constructor. RestrictedAccountProxy (RestrictedAccountProxyCref)
Copy constructor. virtual ~RestrictedAccountProxy (void)
Virtual Destructor. RestrictedAccountProxyRef operator= (RestrictedAccountProxyCref)
Assignment operator. bool operator== (RestrictedAccountProxyCref) const
Equality operator compares the subject pointers. virtual void withdrawFunds (Amount) throw ( InsufficientFundsException )
Withdraw funds from the account is not allowed and we throw an exception.
Detailed Description
RestrictedAccountProxy is a read/write access proxy with limitations, you can make deposits but you can't withdraw funds!
Member Function Documentation
RestrictedAccountProxyRef RestrictedAccountProxy::operator= (RestrictedAccountProxyCref)
Assignment operator. Parameters:
RestrictedAccountProxy const reference
Returns:
RestrictedAccountProxy reference
bool RestrictedAccountProxy::operator== (RestrictedAccountProxyCref) const
Equality operator compares the subject pointers. Parameters:
RestrictedAccountProxy const reference
Returns:
bool if subjects match
Releases
2 releases since Debian 3.0 (Woody); the text changed 1 time.