(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4
 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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.