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())
Environment Anti-Guard Any entered Environment becomes left in the constructor and re-entered in the ...
Definition: EnvGuards.hxx:87
AntiEnvGuard()
Definition: EnvGuards.hxx:92
CPPU_DLLPUBLIC void uno_Environment_enter(uno_Environment *pEnv) SAL_THROW_EXTERN_C()
Enter an environment explicitly.
Definition: Enterable.hxx:30
~EnvGuard()
Definition: EnvGuards.hxx:53
bool is() const
Checks if the associated environment is non empty.
Definition: EnvGuards.hxx:62
Environment Guard The provided Environment becomes entered in the constructor and left in the destruc...
Definition: EnvGuards.hxx:39
~AntiEnvGuard()
Definition: EnvGuards.hxx:98
void clear()
Leaves the associated environment and clears the reference.
Definition: EnvGuards.hxx:70
EnvGuard(css::uno::Environment const &env)
Definition: EnvGuards.hxx:44