Overview | Namespace | Class | Index | Help

PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA
PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA

:: 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( 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

Copyright © 2003 Sun Microsystems, Inc.