3 #ifndef INCLUDED_CPPU_ENVGUARDS_HXX 4 #define INCLUDED_CPPU_ENVGUARDS_HXX 20 css::uno::Environment m_env;
23 explicit EnvGuard(css::uno::Environment
const & env)
27 m_env = css::uno::Environment::getCurrent();
41 bool SAL_CALL
is()
const 68 css::uno::Environment m_env;
72 : m_env(
css::uno::Environment::getCurrent())
Environment Anti-Guard Any entered Environment becomes left in the constructor and re-entered in the ...
Definition: EnvGuards.hxx:66
AntiEnvGuard()
Definition: EnvGuards.hxx:71
CPPU_DLLPUBLIC void uno_Environment_enter(uno_Environment *pEnv) SAL_THROW_EXTERN_C()
Enter an environment explicitly.
Definition: Enterable.hxx:10
~EnvGuard()
Definition: EnvGuards.hxx:32
bool is() const
Checks if the associated environment is non empty.
Definition: EnvGuards.hxx:41
Environment Guard The provided Environment becomes entered in the constructor and left in the destruc...
Definition: EnvGuards.hxx:18
~AntiEnvGuard()
Definition: EnvGuards.hxx:77
void clear()
Leaves the associated environment and clears the reference.
Definition: EnvGuards.hxx:49
EnvGuard(css::uno::Environment const &env)
Definition: EnvGuards.hxx:23