Difference between revisions of "Uno/Cpp/Spec/Environment AntiGuard"
From Apache OpenOffice Wiki
m (Splitted categories.) |
|||
| Line 23: | Line 23: | ||
| − | [[Category:Uno:Cpp | + | [[Category:Draft]] |
| + | [[Category:Spec]] | ||
| + | [[Category:Uno]] | ||
| + | [[Category:Uno:Cpp]] | ||
Revision as of 08:21, 29 November 2006
Type: specification State: draft
Feature
An AntiGuard for C++ Uno environments.
API
[cpp]
cppu/EnvGuards.hxx
class cppu::AntiEnvGuard
{
public:
AntiEnvGuard(void);
~AntiEnvGuard(void) ;
};
Usage Example
#include <cppu/EnvGuards.hxx>
...
{
cppu::AntiEnvGuard antiEnvGuard;
// From here onwards the previous environment has been left, at the end of the block it gets re-entered.
...
}