Difference between revisions of "Uno/Cpp/Spec/Environment Guard"
From Apache OpenOffice Wiki
m (Added category.) |
m (Added Links.) |
||
Line 5: | Line 5: | ||
== Environment Guard == | == Environment Guard == | ||
− | ; Feature: A Guard and an AntiGuard for UNO environments. | + | ; Feature: A Guard and an AntiGuard for [[Uno/Cpp/Spec/Environment | C++ UNO environments]]. |
; Rationale : | ; Rationale : | ||
− | ; API | + | ; API: |
− | + | <pre> | |
− | + | cppu::EnvGuard | |
+ | EnvGuard(uno::Environment const & env);</code> | ||
+ | </pre> | ||
+ | <pre> | ||
+ | cppu::AntiEnvGuard | ||
+ | AntiEnvGuard(void); | ||
− | : | + | ClearableEnvGuard |
− | + | ClearableEnvGuard(uno::Environment const & env); | |
+ | void clear(void); | ||
+ | </pre> | ||
− | |||
− | |||
− | |||
− | |||
; Compatibility Issues: None. | ; Compatibility Issues: None. | ||
; Dependencies: | ; Dependencies: | ||
− | :* C++ uno::Environment | + | :* [[Uno/Cpp/Spec/Environment | C++ uno::Environment]] |
− | :* | + | :* [[Uno/Cpp/Spec/Environment Stack | Environment Stack]] |
[[Category:Uno:Cpp:Spec]] | [[Category:Uno:Cpp:Spec]] |
Revision as of 13:57, 9 May 2006
version: 9823
state: draft
type: specification
Environment Guard
- Feature
- A Guard and an AntiGuard for C++ UNO environments.
- Rationale
- API
cppu::EnvGuard EnvGuard(uno::Environment const & env);</code>
cppu::AntiEnvGuard AntiEnvGuard(void); ClearableEnvGuard ClearableEnvGuard(uno::Environment const & env); void clear(void);
- Compatibility Issues
- None.
- Dependencies