---
name: "RestrictedAccountProxy"
section: "3"
platform: "linux"
package: "libcorelinux-dev"
version: "0.4.32-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/RestrictedAccountProxy"
---

# RestrictedAccountProxy(3)

RestrictedAccountProxy is a read/write access proxy with limitations, you can make deposits but you can't withdraw funds!

## NAME

RestrictedAccountProxy - RestrictedAccountProxy is a read/write access proxy with limitations, you can make deposits but you can't withdraw funds!

## SYNOPSIS

`#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

## Author

Generated automatically by Doxygen for CoreLinux++ from the source code.
