Difference between revisions of "Uno/Cpp/Spec/Environment Guard"
From Apache OpenOffice Wiki
m (Added header file name.) |
m (Fixed section indentation.) |
||
Line 1: | Line 1: | ||
− | + | Type: specification State: draft | |
− | + | ||
− | + | ||
− | == | + | ==Feature== |
+ | A Guard and an AntiGuard for [[Uno/Cpp/Spec/Environment|C++ Uno environments]]. | ||
− | + | ==API== | |
− | + | <code>[cpp] | |
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
cppu/EnvGuards.hxx | cppu/EnvGuards.hxx | ||
cppu::EnvGuard | cppu::EnvGuard | ||
− | EnvGuard(uno::Environment const & env); | + | EnvGuard(uno::Environment const & env); |
cppu::AntiEnvGuard | cppu::AntiEnvGuard | ||
Line 22: | Line 17: | ||
ClearableEnvGuard(uno::Environment const & env); | ClearableEnvGuard(uno::Environment const & env); | ||
void clear(void); | void clear(void); | ||
− | </ | + | </code> |
− | + | ==Dependencies== | |
+ | * [[Uno/Cpp/Spec/Environment]] | ||
+ | * [[Uno/Cpp/Spec/Environment Stack]] | ||
− | |||
− | |||
− | |||
[[Category:Uno:Cpp:Spec]] | [[Category:Uno:Cpp:Spec]] |
Revision as of 19:47, 6 September 2006
Type: specification State: draft
Feature
A Guard and an AntiGuard for C++ Uno environments.
API
[cpp]
cppu/EnvGuards.hxx
cppu::EnvGuard EnvGuard(uno::Environment const & env);
cppu::AntiEnvGuard AntiEnvGuard(void);
ClearableEnvGuard ClearableEnvGuard(uno::Environment const & env); void clear(void);