24 #ifndef INCLUDED_CPPU_ENVGUARDS_HXX
25 #define INCLUDED_CPPU_ENVGUARDS_HXX
41 css::uno::Environment m_env;
44 explicit EnvGuard(css::uno::Environment
const & env)
48 m_env = css::uno::Environment::getCurrent();
62 bool SAL_CALL
is()
const
89 css::uno::Environment m_env;
93 : m_env(
css::uno::Environment::getCurrent())
CPPU_DLLPUBLIC void uno_Environment_enter(uno_Environment *pEnv) SAL_THROW_EXTERN_C()
Enter an environment explicitly.
Definition: Enterable.hxx:31
Environment Guard The provided Environment becomes entered in the constructor and left in the destruc...
Definition: EnvGuards.hxx:40
bool is() const
Checks if the associated environment is non empty.
Definition: EnvGuards.hxx:62
~EnvGuard()
Definition: EnvGuards.hxx:53
void clear()
Leaves the associated environment and clears the reference.
Definition: EnvGuards.hxx:70
EnvGuard(css::uno::Environment const &env)
Definition: EnvGuards.hxx:44
Environment Anti-Guard Any entered Environment becomes left in the constructor and re-entered in the ...
Definition: EnvGuards.hxx:88
~AntiEnvGuard()
Definition: EnvGuards.hxx:98
AntiEnvGuard()
Definition: EnvGuards.hxx:92