Methods of Class Environment
- Environment
- Environment(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Constructor: acquires given environment
- Parameters
-
- Environment
- explicit Environment(
const rtl::OUString & |
envDcp, |
void * |
pContext = NULL ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
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
- Environment(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Copy constructor: acquires given environment
- Parameters
-
- ~Environment
- ~Environment() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Destructor: releases a set environment.
- operator=
- Environment & operator=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Sets a given environment, i.e. acquires given one and releases a set one.
- Parameters
-
- Return
this environment
- operator=
- Environment & operator=(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Sets a given environment, i.e. acquires given one and releases a set one.
- Parameters
-
- Return
this environment
- get
- uno_Environment * get() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Provides UNacquired pointer to the set C environment.
- Return
UNacquired pointer to the C environment struct
- getTypeName
- ::rtl::OUString getTypeName() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Gets type name of set environment.
- Return
type name of set environment
- getContext
- void * getContext() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Gets free context pointer of set environment.
- Return
free context pointer of set environment
- is
- sal_Bool is() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Tests if a environment is set.
- Return
true, if a environment is set, false otherwise
- clear
- void clear() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Releases a set environment.
- invoke_v
- void invoke_v(
uno_EnvCallee * |
pCallee, |
va_list * |
pParam ) const throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
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
- invoke
- void invoke(
uno_EnvCallee * |
pCallee, |
... |
) const throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
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
- enter
- void enter() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Enter this environment explicitly.
- Since
- UDK 3.2.7
- isValid
- int isValid(
rtl::OUString * |
pReason ) const throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
YES |
NO |
NO |
NO |
YES |
NO |
- Summary
Checks, if it is valid to currently call objects
belonging to this environment.
- Since
- UDK 3.2.7
- getCurrent
- static Environment getCurrent(
const rtl::OUString & |
typeName = rtl :: OUString RTL_CONSTASCII_USTRINGPARAM CPPU_STRINGIFY CPPU_ENV ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
YES |
YES |
NO |
- Summary
Returns the current Environment.
- Parameters
env_type |
the optional type of the Environment, falls back to "uno" in case being empty,
respectively to current C++ Environment.
|
- Since
- UDK 3.2.7
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.