Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


Methods of Class Mapping


Mapping
Mapping(
const ::rtl::OUString & rFrom,
const ::rtl::OUString & rTo,
const ::rtl::OUString & rAddPurpose = :: rtl :: OUString ) throw();

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

Summary
Holds a mapping from the specified source to the specified destination by environment
type names.

Parameters
rFrom
type name of source environment
rTo
type name of destination environment
rAddPurpose
additional purpose

Mapping
Mapping(
uno_Environment * pFrom,
uno_Environment * pTo,
const ::rtl::OUString & rAddPurpose = :: rtl :: OUString ) throw();

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

Summary
Holds a mapping from the specified source to the specified destination.

Parameters
pFrom
source environment
pTo
destination environment
rAddPurpose
additional purpose

Mapping
Mapping(
const Environment & rFrom,
const Environment & rTo,
const ::rtl::OUString & rAddPurpose = :: rtl :: OUString ) throw();

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

Summary
Holds a mapping from the specified source to the specified destination
environment.

Parameters
from
source environment
to
destination environment
rAddPurpose
additional purpose

Mapping
Mapping(
uno_Mapping * pMapping = 0 ) throw();

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

Summary
Constructor.

Parameters
pMapping
another mapping

Mapping
Mapping(
const Mapping & rMapping ) throw();

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

Summary
Copy constructor.

Parameters
rMapping
another mapping

~Mapping
~Mapping() throw();

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

Summary
Destructor.

operator=
Mapping & operator=(
uno_Mapping * pMapping ) throw();

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

Summary
Sets a given mapping.

Parameters
pMapping
another mapping
Return
this mapping

operator=
Mapping & operator=(
const Mapping & rMapping ) throw();

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

Summary
Sets a given mapping.

Parameters
rMapping
another mapping
Return
this mapping

get
uno_Mapping * get() throw();

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

Summary
Provides a pointer to the C mapping. The returned mapping is NOT acquired!

Return
UNacquired C mapping

is
sal_Bool is() throw();

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

Summary
Tests if a mapping is set.

Return
true if a mapping is set

clear
void clear() throw();

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

Summary
Releases a set mapping.

mapInterface
void * mapInterface(
void * pInterface,
typelib_InterfaceTypeDescription * pTypeDescr ) const throw();

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

Summary
Maps an interface from one environment to another.

Parameters
pInterface
source interface
pTypeDescr
type description of interface
Return
mapped interface

mapInterface
void * mapInterface(
void * pInterface,
typelib_TypeDescription * pTypeDescr ) const throw();

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

Summary
Maps an interface from one environment to another.

Parameters
pInterface
source interface
pTypeDescr
type description of interface
Return
mapped interface

mapInterface
void * mapInterface(
void * pInterface,
const ::com::sun::star::uno::Type & rType ) const throw();

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

Summary
Maps an interface from one environment to another.

Parameters
pInterface
source interface
rType
type of interface
Return
mapped interface

mapInterface
void mapInterface(
void * * ppOut,
void * pInterface,
typelib_InterfaceTypeDescription * pTypeDescr ) const throw();

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

Summary
Maps an interface from one environment to another.

Parameters
ppOut
inout mapped interface
pInterface
source interface
pTypeDescr
type description of interface

mapInterface
void mapInterface(
void * * ppOut,
void * pInterface,
typelib_TypeDescription * pTypeDescr ) const throw();

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

Summary
Maps an interface from one environment to another.

Parameters
ppOut
inout mapped interface
pInterface
source interface
pTypeDescr
type description of interface

mapInterface
void mapInterface(
void * * ppOut,
void * pInterface,
const ::com::sun::star::uno::Type & rType ) const throw();

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

Summary
Maps an interface from one environment to another.

Parameters
ppOut
inout mapped interface
pInterface
source interface
rType
type of interface to be mapped

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.