rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWScopeGuardImp Class Reference
[Scope Guard]

Base class for derived RWScopeGuardImp classes. More...

#include <rw/tools/scopeguard.h>

Inheritance diagram for RWScopeGuardImp:
RWScopeGuard0GImp< Fun > RWScopeGuard0MImp< Obj, Fun > RWScopeGuard1GImp< Fun, P1 > RWScopeGuard1MImp< Obj, Fun, P1 > RWScopeGuard2GImp< Fun, P1, P2 > RWScopeGuard2MImp< Obj, Fun, P1, P2 > RWScopeGuard3GImp< Fun, P1, P2, P3 > RWScopeGuard3MImp< Obj, Fun, P1, P2, P3 > RWScopeGuard4GImp< Fun, P1, P2, P3, P4 > RWScopeGuard4MImp< Obj, Fun, P1, P2, P3, P4 > RWScopeGuard5GImp< Fun, P1, P2, P3, P4, P5 > RWScopeGuard5MImp< Obj, Fun, P1, P2, P3, P4, P5 >

List of all members.

Public Member Functions

void dismiss () const

Protected Member Functions

 RWScopeGuardImp ()
 RWScopeGuardImp (const RWScopeGuardImp &other)
 ~RWScopeGuardImp ()

Private Member Functions

RWScopeGuardImpoperator= (const RWScopeGuardImp &)

Detailed Description

Base class for derived RWScopeGuardImp classes. This class should not be used directly; rather, use the typedef RWScopeGuard and the rwtMakeScopeGuardG() or rwtMakeScopeGuardM() convenience functions.

See also:
RWScopeGuard

Constructor & Destructor Documentation

RWScopeGuardImp::RWScopeGuardImp (  )  [inline, protected]

Default constructor

RWScopeGuardImp::RWScopeGuardImp ( const RWScopeGuardImp other  )  [inline, protected]

Copy constructor. Transfers responsibility for invoking the associated action to self, and dismisses other.

RWScopeGuardImp::~RWScopeGuardImp (  )  [inline, protected]

Destructor


Member Function Documentation

void RWScopeGuardImp::dismiss (  )  const [inline]

Dismisses the action associated with this RWScopeGuardImp instance, so that the action does not execute at the end of the current scope.

RWScopeGuardImp& RWScopeGuardImp::operator= ( const RWScopeGuardImp  )  [private]

Assignment operator. Assignment for this type is prohibited.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.