| Overview | Namespace | Class | Index | Help |
| PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
| PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
| virtual | abstract | interface | template |
| NO | NO | NO | NO |
C++ wrapper for binary C uno_Environment.
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. |
Static Methods |
|
| static Environment getCurrent( const rtl::OUString & typeName = rtl :: OUString RTL_CONSTASCII_USTRINGPARAM CPPU_STRINGIFY CPPU_ENV ) throw( ); |
Returns the current Environment. |
Data |
|
| uno_Environment * _pEnv; | binary C uno_Environment |
Copyright © 1995, 2010, 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.