(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: osl ::

class Module


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
File
module.hxx

Public Members

Methods


Module( );

Module( const ::rtl::OUString & strModuleName, sal_Int32 nRtldMode = SAL_LOADMODULE_DEFAULT );

~Module( );
sal_Bool
load( const ::rtl::OUString & strModuleName, sal_Int32 nRtldMode = SAL_LOADMODULE_DEFAULT );
sal_Bool
loadRelative( ::oslGenericFunction baseModule, const ::rtl::OUString & relativePath, ::sal_Int32 mode = SAL_LOADMODULE_DEFAULT );
void
unload( );
sal_Bool
is( ) const;
void *
getSymbol( const ::rtl::OUString & strSymbolName );
oslGenericFunction
getFunctionSymbol( const ::rtl::OUString & ustrFunctionSymbolName );
Get function address by the function name in the module.

operator oslModule( ) const;

Static Methods

static sal_Bool
getUrlFromAddress( void * addr, ::rtl::OUString & libraryUrl );
static sal_Bool
getUrlFromAddress( oslGenericFunction addr, ::rtl::OUString & libraryUrl );
Get module URL from the specified function address in the module.

Private Members

Methods


Module( const Module & );
Module &
operator=( const Module & );

Data

oslModule m_Module;

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.