24#ifndef INCLUDED_CPPU_ENVGUARDS_HXX
25#define INCLUDED_CPPU_ENVGUARDS_HXX
27#include "uno/environment.hxx"
44 explicit EnvGuard(css::uno::Environment
const & env)
48 m_env = css::uno::Environment::getCurrent();
62 bool SAL_CALL
is()
const
void SAL_CALL uno_Environment_enter(uno_Environment *pTargetEnv) SAL_THROW_EXTERN_C()
Environment Anti-Guard Any entered Environment becomes left in the constructor and re-entered in the ...
css::uno::Environment m_env
Environment Guard The provided Environment becomes entered in the constructor and left in the destruc...
void clear()
Leaves the associated environment and clears the reference.
css::uno::Environment m_env
EnvGuard(css::uno::Environment const &env)
bool SAL_CALL is() const
Checks if the associated environment is non empty.
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment > & env