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 © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.