Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: uno ::

class Mapping


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
C++ wrapper for C uno_Mapping.

See Also
uno_Mapping
File
mapping.hxx

Public Members

Methods


Mapping( const ::rtl::OUString & rFrom, const ::rtl::OUString & rTo, const ::rtl::OUString & rAddPurpose = :: rtl :: OUString ) throw( );
Holds a mapping from the specified source to the specified destination by environment type names.

Mapping( uno_Environment * pFrom, uno_Environment * pTo, const ::rtl::OUString & rAddPurpose = :: rtl :: OUString ) throw( );
Holds a mapping from the specified source to the specified destination.

Mapping( const Environment & rFrom, const Environment & rTo, const ::rtl::OUString & rAddPurpose = :: rtl :: OUString ) throw( );
Holds a mapping from the specified source to the specified destination environment.

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

Mapping( const Mapping & rMapping ) throw( );
Copy constructor.

~Mapping( ) throw( );
Destructor.
Mapping &
operator=( uno_Mapping * pMapping ) throw( );
Sets a given mapping.
Mapping &
operator=( const Mapping & rMapping ) throw( );
Sets a given mapping.
uno_Mapping *
get( ) const throw( );
Provides a pointer to the C mapping. The returned mapping is NOT acquired!
sal_Bool
is( ) const throw( );
Tests if a mapping is set.
void
clear( ) throw( );
Releases a set mapping.
void *
mapInterface( void * pInterface, typelib_InterfaceTypeDescription * pTypeDescr ) const throw( );
Maps an interface from one environment to another.
void *
mapInterface( void * pInterface, typelib_TypeDescription * pTypeDescr ) const throw( );
Maps an interface from one environment to another.
void *
mapInterface( void * pInterface, const ::com::sun::star::uno::Type & rType ) const throw( );
Maps an interface from one environment to another.
void
mapInterface( void * * ppOut, void * pInterface, typelib_InterfaceTypeDescription * pTypeDescr ) const throw( );
Maps an interface from one environment to another.
void
mapInterface( void * * ppOut, void * pInterface, typelib_TypeDescription * pTypeDescr ) const throw( );
Maps an interface from one environment to another.
void
mapInterface( void * * ppOut, void * pInterface, const ::com::sun::star::uno::Type & rType ) const throw( );
Maps an interface from one environment to another.

Private Members

Data

uno_Mapping * _pMapping;

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.