Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class Module


Module
Module(
const Module & );

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


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

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


Module
Module();

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


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

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


~Module
~Module();

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


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

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


loadRelative
sal_Bool loadRelative(
::oslGenericFunction baseModule,
const ::rtl::OUString & relativePath,
::sal_Int32 mode = SAL_LOADMODULE_DEFAULT );

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

Since
UDK 3.2.8

unload
void unload();

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


is
sal_Bool is();

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


getSymbol
void * getSymbol(
const ::rtl::OUString & strSymbolName );

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


getFunctionSymbol
oslGenericFunction getFunctionSymbol(
const ::rtl::OUString & ustrFunctionSymbolName );

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

Summary
Get function address by the function name in the module.
Description
getFunctionSymbol is an alternative function for getSymbol. Use Function pointer as symbol address to conceal type conversion.
Parameters
ustrFunctionSymbolName
        [in] Function name to be looked up.
   
        
Return
oslGenericFunction format function address
on success
NULL
lookup failed or parameter is somewhat invalid
See Also
getSymbol

operator oslModule
operator oslModule();

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


getUrlFromAddress
static sal_Bool getUrlFromAddress(
void * addr,
::rtl::OUString & libraryUrl );

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


getUrlFromAddress
static sal_Bool getUrlFromAddress(
oslGenericFunction addr,
::rtl::OUString & libraryUrl );

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

Summary
Get module URL from the specified function address in the module.
Description
Similar to getUrlFromAddress, but use a function address to get URL of the Module. Use Function pointer as symbol address to conceal type conversion.
Parameters
addr
    [in] function address in oslGenericFunction format.
           
    
libraryUrl
    [in|out] receives the URL of the module.
       
    
Return
sal_True
on success
sal_False
can not get the URL from the specified function address or the parameter is invalid.
See Also
getUrlFromAddress

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.