Overview | Namespace | Class | Index | Help

## Global Functions in Global Namespace C++
in Sourcefile mapping.h

uno_getMapping
  extern "C"
  void uno_getMapping(

    _uno_Mapping * * | ppMapping,
    _uno_Environment * | pFrom,
    _uno_Environment * | pTo,
    rtl_uString * | pAddPurpose );

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

  Summary
    Gets an interface mapping from one environment to another.
  Parameters

    ppMapping |
        mapping; existing mapping will be released
    pFrom |
        source environment
    pTo |
        destination environment
                            (interfaces resulting in mapInterface() call can be used
                            in this language environment)
    pAddPurpose |
        additional purpose of mapping (e.g., protocolling); defaults to 0 (none)

uno_getMappingByName
  extern "C"
  void uno_getMappingByName(

    _uno_Mapping * * | ppMapping,
    rtl_uString * | pFrom,
    rtl_uString * | pTo,
    rtl_uString * | pAddPurpose );

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

  Summary
    Gets an interface mapping from one language environment to another by corresponding environment type names.
  Parameters

    ppMapping |
        mapping; existing mapping will be released
    pFrom |
        source environment type name
    pTo |
        destination environment type name
                            (interfaces resulting in mapInterface() call can be used
                            in this language environment)
    pAddPurpose |
        additional purpose of mapping (e.g., protocolling); defaults to 0 (none)

uno_registerMapping
  extern "C"
  void uno_registerMapping(

    _uno_Mapping * * | ppMapping,
    uno_freeMappingFunc | freeMapping,
    _uno_Environment * | pFrom,
    _uno_Environment * | pTo,
    rtl_uString * | pAddPurpose );

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

  Summary
    Registers a mapping. A mapping registers itself on first acquire and revokes itself on last release. The given freeMapping function is called by the runtime to cleanup any resources.
  Parameters

    ppMapping |
        inout mapping to be registered
    freeMapping |
        called by runtime to delete mapping
    pFrom |
        source environment
    pTo |
        destination environment
    pAddPurpose |
        additional purpose string; defaults to 0

uno_registerMappingCallback
  extern "C"
  void uno_registerMappingCallback(

    uno_getMappingFunc | pCallback );

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

  Summary
    Registers a callback being called each time a mapping is demanded.
  Parameters

    pCallback |
        callback function

uno_revokeMapping
  extern "C"
  void uno_revokeMapping(

    _uno_Mapping * | pMapping );

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

  Summary
    Revokes a mapping. A mapping registers itself on first acquire and revokes itself on last release.
  Parameters

    pMapping |
        mapping to be revoked

uno_revokeMappingCallback
  extern "C"
  void uno_revokeMappingCallback(

    uno_getMappingFunc | pCallback );

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

  Summary
    Revokes a mapping callback registration.
  Parameters

    pCallback |
        callback function

Top of Page

Copyright © 2003 Sun Microsystems, Inc.