LibreOffice Module cppu (master) 1
|
Environment Guard The provided Environment becomes entered in the constructor and left in the destructor. More...
#include <EnvGuards.hxx>
Public Member Functions | |
EnvGuard (css::uno::Environment const &env) | |
~EnvGuard () | |
bool SAL_CALL | is () const |
Checks if the associated environment is non empty. More... | |
void | clear () |
Leaves the associated environment and clears the reference. More... | |
Private Attributes | |
css::uno::Environment | m_env |
Environment Guard The provided Environment becomes entered in the constructor and left in the destructor.
(http://wiki.openoffice.org/wiki/Uno/Cpp/Spec/Environment_Guard)
Definition at line 39 of file EnvGuards.hxx.
|
inlineexplicit |
Definition at line 44 of file EnvGuards.hxx.
|
inline |
Definition at line 53 of file EnvGuards.hxx.
References m_env.
|
inline |
Leaves the associated environment and clears the reference.
Definition at line 70 of file EnvGuards.hxx.
References m_env.
|
inline |
Checks if the associated environment is non empty.
Definition at line 62 of file EnvGuards.hxx.
References m_env.
|
private |
Definition at line 41 of file EnvGuards.hxx.
Referenced by clear(), EnvGuard(), is(), and ~EnvGuard().