Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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 Software Foundation

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

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.