Difference between revisions of "Uno/Cpp/Spec/Environment AntiGuard"
From Apache OpenOffice Wiki
SergeMoutou (Talk | contribs) m (→API) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Type: | + | Type: Specification State: Evolving Availability: URE 1.3 (SRC680_m212) |
==Feature== | ==Feature== | ||
Line 5: | Line 5: | ||
==API== | ==API== | ||
− | < | + | <source lang="cpp"> |
cppu/EnvGuards.hxx | cppu/EnvGuards.hxx | ||
class cppu::AntiEnvGuard | class cppu::AntiEnvGuard | ||
Line 13: | Line 13: | ||
~AntiEnvGuard(void) ; | ~AntiEnvGuard(void) ; | ||
}; | }; | ||
− | </ | + | </source> |
==Usage Example== | ==Usage Example== | ||
Line 23: | Line 23: | ||
− | [[Category:Uno: | + | [[Category:Evolving]] |
+ | [[Category:Spec]] | ||
+ | [[Category:Uno]] | ||
+ | [[Category:Uno:Cpp]] |
Latest revision as of 11:21, 25 February 2008
Type: Specification State: Evolving Availability: URE 1.3 (SRC680_m212)
Contents
Feature
An AntiGuard for C++ Uno environments.
API
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. ... }