CppUnit project page | FAQ | CppUnit home page

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ProtectorChain Class Reference

Protector chain (Implementation). Implementation detail. More...

`#include <ProtectorChain.h>`

Inheritance diagram for ProtectorChain:

[legend]
Collaboration diagram for ProtectorChain:

[legend]
List of all members.

## Public Member Functions
| ~ProtectorChain ()
void | push (Protector *protector)
void | pop ()
int | count () const
bool | protect (const Functor &functor, const ProtectorContext &context)
## Private Types
typedef CppUnitDeque< Protector * > | Protectors
typedef CppUnitDeque< Functor * > | Functors
## Private Attributes
Protectors | m_protectors
## Classes
class | ProtectFunctor

## Detailed Description

Protector chain (Implementation). Implementation detail.

## Member Typedef Documentation

typedef CppUnitDeque<Protector *> ProtectorChain::Protectors`[private]`

typedef CppUnitDeque<Functor *> ProtectorChain::Functors`[private]`

## Constructor & Destructor Documentation

ProtectorChain::~ProtectorChain | ( |  | ) |

## Member Function Documentation

void ProtectorChain::push | ( | Protector * | protector | ) |

void ProtectorChain::pop | ( |  | ) |

int ProtectorChain::count | ( |  | ) | const

bool ProtectorChain::protect | ( | const Functor & | functor,
|  | const ProtectorContext & | context |
| ) |  |  | `[virtual]`

Implements Protector.

## Member Data Documentation

Protectors ProtectorChain::m_protectors`[private]`

The documentation for this class was generated from the following files:

- ProtectorChain.h
- ProtectorChain.cpp

| hosts this site. |  | Send comments to: CppUnit Developers