Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11
 Overview   Namespace   Class   Index   Help 

Global Functions in Global Namespace C++
in Sourcefile environment.h


uno_createEnvironment
extern "C"
void uno_createEnvironment(
uno_Environment * * ppEnv,
rtl_uString * pEnvTypeName,
void * pContext );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Creates an environment. The new environment is anonymous (NOT publicly registered/ accessible).
Parameters
ppEnv
out parameter of environment; given environment will be released
pEnvTypeName
name of environment
pContext
context pointer (e.g., to distinguish java vm); set 0 if not needed

uno_dumpEnvironment
extern "C"
void uno_dumpEnvironment(
void * stream,
uno_Environment * pEnv,
const sal_Char * pFilter );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Dumps out environment information, i.e. registered interfaces.
Parameters
stream
output stream (FILE *)
pEnv
environment to be dumped
pFilter
if not null, filters output

uno_dumpEnvironmentByName
extern "C"
void uno_dumpEnvironmentByName(
void * stream,
rtl_uString * pEnvTypeName,
const sal_Char * pFilter );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Dumps out environment information, i.e. registered interfaces.
Parameters
stream
output stream (FILE *)
pEnvTypeName
type name of environment to be dumped
pFilter
if not null, filters output

uno_getEnvironment
extern "C"
void uno_getEnvironment(
uno_Environment * * ppEnv,
rtl_uString * pEnvTypeName,
void * pContext );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Gets a specific environment. If the specified environment does not exist, then a default one is created and registered. The environment revokes itself on last release() call.
Parameters
ppEnv
inout parameter of environment; given environment will be released
pEnvTypeName
type name of environment
pContext
some context pointer (e.g., to distinguish java vm; set 0 if not needed)

uno_getRegisteredEnvironments
extern "C"
void uno_getRegisteredEnvironments(
uno_Environment * * * pppEnvs,
sal_Int32 * pnLen,
uno_memAlloc memAlloc,
rtl_uString * pEnvTypeName );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Gets all specified environments. Caller has to release returned environments and free allocated memory.
Parameters
pppEnvs
out param; pointer to array of environments
pnLen
out param; length of array
memAlloc
function for allocating memory that is passed back
pEnvTypeName
type name of environments; 0 defaults to all

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.