SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions
RWScopeGuardImp Class Reference

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 >

Public Member Functions

void dismiss () const
 

Protected Member Functions

 RWScopeGuardImp ()
 
 RWScopeGuardImp (const RWScopeGuardImp &other)
 

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 ( )
inlineprotected

Default constructor

RWScopeGuardImp::RWScopeGuardImp ( const RWScopeGuardImp other)
inlineprotected

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

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.

Copyright © 2016 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.
Provide feedback to Rogue Wave about its documentation.