C++ wrapper for binary C uno_Environment.
More...
#include <environment.hxx>
C++ wrapper for binary C uno_Environment.
- See also
- uno_Environment
◆ Environment() [1/3]
com::sun::star::uno::Environment::Environment |
( |
uno_Environment * |
pEnv = NULL | ) |
|
|
inline |
Constructor: acquires given environment.
- Parameters
-
◆ Environment() [2/3]
com::sun::star::uno::Environment::Environment |
( |
rtl::OUString const & |
envDcp, |
|
|
void * |
pContext = NULL |
|
) |
| |
|
inlineexplicit |
Gets a specific environment.
If the specified environment does not exist, then a default one is created and registered.
- Parameters
-
envDcp | descriptor of the environment |
pContext | context pointer |
◆ Environment() [3/3]
com::sun::star::uno::Environment::Environment |
( |
const Environment & |
rEnv | ) |
|
|
inline |
Copy constructor: acquires given environment.
- Parameters
-
◆ ~Environment()
com::sun::star::uno::Environment::~Environment |
( |
| ) |
|
|
inline |
Destructor: releases a set environment.
◆ clear()
void com::sun::star::uno::Environment::clear |
( |
| ) |
|
|
inline |
Releases a set environment.
◆ enter()
void com::sun::star::uno::Environment::enter |
( |
| ) |
const |
|
inline |
Enter this environment explicitly.
- Since
- UDK 3.2.7
◆ get()
Provides UNacquired pointer to the set C environment.
- Returns
- UNacquired pointer to the C environment struct
◆ getContext()
void* com::sun::star::uno::Environment::getContext |
( |
| ) |
const |
|
inline |
Gets free context pointer of set environment.
- Returns
- free context pointer of set environment
◆ getCurrent()
Returns the current Environment.
- Parameters
-
typeName | the optional type of the Environment, falls back to "uno" in case being empty, respectively to current C++ Environment. |
- Since
- UDK 3.2.7
◆ getTypeName()
::rtl::OUString com::sun::star::uno::Environment::getTypeName |
( |
| ) |
const |
|
inline |
Gets type name of set environment.
- Returns
- type name of set environment
◆ invoke()
void com::sun::star::uno::Environment::invoke |
( |
uno_EnvCallee * |
pCallee, |
|
|
|
... |
|
) |
| const |
|
inline |
Invoke the passed function in this environment.
- Parameters
-
pCallee | the function to call |
... | the parameters to be passed to the function |
- Since
- UDK 3.2.7
◆ invoke_v()
void com::sun::star::uno::Environment::invoke_v |
( |
uno_EnvCallee * |
pCallee, |
|
|
va_list * |
pParam |
|
) |
| const |
|
inline |
Invoke the passed function in this environment.
- Parameters
-
pCallee | the function to call |
pParam | the parameter pointer to be passed to the function |
- Since
- UDK 3.2.7
◆ is()
bool com::sun::star::uno::Environment::is |
( |
| ) |
const |
|
inline |
Tests if an environment is set.
- Returns
- true, if an environment is set, false otherwise
◆ isValid()
int com::sun::star::uno::Environment::isValid |
( |
rtl::OUString * |
pReason | ) |
const |
|
inline |
Checks, if it is valid to currently call objects belonging to this environment.
- Since
- UDK 3.2.7
◆ operator=() [1/2]
Sets a given environment, i.e.
acquires given one and releases a set one.
- Parameters
-
- Returns
- this environment
◆ operator=() [2/2]
Sets a given environment, i.e.
acquires given one and releases a set one.
- Parameters
-
- Returns
- this environment
The documentation for this class was generated from the following file: