20 #ifndef INCLUDED_CPPU_ENVGUARDS_HXX
21 #define INCLUDED_CPPU_ENVGUARDS_HXX
93 : m_env(
cssuno::Environment::getCurrent())
~EnvGuard()
Definition: EnvGuards.hxx:53
AntiEnvGuard()
Definition: EnvGuards.hxx:92
C++ wrapper for binary C uno_Environment.
Definition: environment.hxx:45
static Environment getCurrent(rtl::OUString const &typeName=rtl::OUString(CPPU_CURRENT_LANGUAGE_BINDING_NAME)) SAL_THROW(())
Returns the current Environment.
Definition: environment.hxx:250
void clear()
Leaves the associated environment and clears the reference.
Definition: EnvGuards.hxx:70
void enter() const SAL_THROW(())
Enter this environment explicitly.
Definition: environment.hxx:240
Environment Guard The provided Environment becomes entered in the constructor and left in the destruc...
Definition: EnvGuards.hxx:39
Definition: Enterable.hxx:26
#define SAL_THROW(x)
Exception specification documentation.
Definition: types.h:361
CPPU_DLLPUBLIC void uno_Environment_enter(uno_Environment *pEnv) SAL_THROW_EXTERN_C()
Enter an environment explicitly.
Definition: typedescription.hxx:34
~AntiEnvGuard()
Definition: EnvGuards.hxx:98
EnvGuard(cssuno::Environment const &env)
Definition: EnvGuards.hxx:44
bool is() const SAL_THROW(())
Tests if a environment is set.
Definition: environment.hxx:136
void clear() SAL_THROW(())
Releases a set environment.
Definition: environment.hxx:199
bool is() const SAL_THROW(())
Checks if the associated environment is non empty.
Definition: EnvGuards.hxx:62
Environment Anti-Guard Any entered Environment becomes left in the constructor and re-entered in the ...
Definition: EnvGuards.hxx:87