Methods
|
Environment( uno_Environment * pEnv = 0 ) throw( ); |
Constructor: acquires given environment
|
explicit
Environment( const rtl::OUString & envDcp, void * pContext = NULL ) throw( ); |
Gets a specific environment. If the specified environment does not exist, then a default one
is created and registered.
|
Environment( const Environment & rEnv ) throw( ); |
Copy constructor: acquires given environment
|
~Environment( ) throw( ); |
Destructor: releases a set environment.
|
Environment &
operator=( uno_Environment * pEnv ) throw( ); |
Sets a given environment, i.e. acquires given one and releases a set one.
|
Environment &
operator=( const Environment & rEnv ) throw( ); |
Sets a given environment, i.e. acquires given one and releases a set one.
|
uno_Environment *
get( ) const throw( ); |
Provides UNacquired pointer to the set C environment.
|
::rtl::OUString
getTypeName( ) const throw( ); |
Gets type name of set environment.
|
void *
getContext( ) const throw( ); |
Gets free context pointer of set environment.
|
sal_Bool
is( ) const throw( ); |
Tests if a environment is set.
|
void
clear( ) throw( ); |
Releases a set environment.
|
void
invoke_v( uno_EnvCallee * pCallee, va_list * pParam ) const throw( ); |
Invoke the passed function in this environment.
|
void
invoke( uno_EnvCallee * pCallee, ... ) const throw( ); |
Invoke the passed function in this environment.
|
void
enter( ) const throw( ); |
Enter this environment explicitly.
|
int
isValid( rtl::OUString * pReason ) const throw( ); |
Checks, if it is valid to currently call objects
belonging to this environment.
|