SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Base class for derived RWScopeGuardImp classes. More...
#include <rw/tools/scopeguard.h>
Public Member Functions | |
void | dismiss () const |
Protected Member Functions | |
RWScopeGuardImp () | |
RWScopeGuardImp (const RWScopeGuardImp &other) | |
~RWScopeGuardImp () | |
Private Member Functions | |
RWScopeGuardImp & | operator= (const RWScopeGuardImp &) |
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.
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
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 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.