Environment Guard The provided Environment becomes entered in the constructor and left in the destructor. More...
#include <EnvGuards.hxx>
Public Member Functions | |
| EnvGuard (cssuno::Environment const &env) | |
| ~EnvGuard () | |
| sal_Bool | is () const throw () |
| Checks if the associated environment is non empty. | |
| void | clear () |
| Leaves the associated environment and clears the reference. | |
Environment Guard The provided Environment becomes entered in the constructor and left in the destructor.
(http://wiki.services.openoffice.org/wiki/Uno/Cpp/Spec/Environment_Guard)
| cppu::EnvGuard::EnvGuard | ( | cssuno::Environment const & | env | ) | [inline, explicit] |
| cppu::EnvGuard::~EnvGuard | ( | ) | [inline] |
| void cppu::EnvGuard::clear | ( | ) | [inline] |
Leaves the associated environment and clears the reference.
| sal_Bool cppu::EnvGuard::is | ( | ) | const throw () [inline] |
Checks if the associated environment is non empty.
1.6.1