20 #ifndef INCLUDED_CPPU_ENVGUARDS_HXX 21 #define INCLUDED_CPPU_ENVGUARDS_HXX 37 css::uno::Environment m_env;
40 explicit EnvGuard(css::uno::Environment
const & env)
44 m_env = css::uno::Environment::getCurrent();
58 bool SAL_CALL
is()
const 85 css::uno::Environment m_env;
89 : m_env(
css::uno::Environment::getCurrent())
EnvGuard(css::uno::Environment const &env)
Definition: EnvGuards.hxx:40
Definition: Enterable.hxx:26
void clear()
Leaves the associated environment and clears the reference.
Definition: EnvGuards.hxx:66
bool is() const
Checks if the associated environment is non empty.
Definition: EnvGuards.hxx:58
Environment Guard The provided Environment becomes entered in the constructor and left in the destruc...
Definition: EnvGuards.hxx:35
CPPU_DLLPUBLIC void uno_Environment_enter(uno_Environment *pEnv) SAL_THROW_EXTERN_C()
Enter an environment explicitly.
Environment Anti-Guard Any entered Environment becomes left in the constructor and re-entered in the ...
Definition: EnvGuards.hxx:83
~AntiEnvGuard()
Definition: EnvGuards.hxx:94
~EnvGuard()
Definition: EnvGuards.hxx:49
AntiEnvGuard()
Definition: EnvGuards.hxx:88