20 #ifndef INCLUDED_cppu_Map_hxx
21 #define INCLUDED_cppu_Map_hxx
26 namespace cssu = com::sun::star::uno;
void * mapInterface(void *pInterface, typelib_InterfaceTypeDescription *pTypeDescr) const
Maps an interface from one environment to another.
Definition: mapping.hxx:274
T * mapIn(T *pT, cssu::Environment const &outerEnv)
Maps an object from an outer Environment to the current, returns mapped object.
Definition: Map.hxx:56
void mapInAny(cssu::Any const &any, cssu::Any *res, cssu::Environment const &outerEnv)
Maps an any from an outer Environment to the current, fills passed any.
Definition: Map.hxx:92
void cpp_release(void *pCppI)
Function to release a C++ interface.
Definition: genfunc.hxx:42
typelib_TypeDescriptionReference * getValueTypeRef() const
Gets the type of the set value.
Definition: Any.h:122
void(* uno_ReleaseFunc)(void *pInterface)
Generic function pointer declaration to release an interface.
Definition: data.h:52
uno_Mapping * get() const
Provides a pointer to the C mapping.
Definition: mapping.hxx:133
void mapOutAny(cssu::Any const &any, cssu::Any *res, cssu::Environment const &outerEnv)
Maps an any from the current to an outer Environment, fills passed any.
Definition: Map.hxx:72
static Environment getCurrent(rtl::OUString const &typeName=rtl::OUString(CPPU_STRINGIFY(CPPU_ENV)))
Returns the current Environment.
Definition: environment.hxx:250
const void * getValue() const
Gets a pointer to the set value.
Definition: Any.h:157
C++ wrapper for C uno_Mapping.
Definition: mapping.hxx:48
Template reference class for interface type derived from BaseReference.
Definition: unotype.hxx:32
C++ class representing an IDL any.
Definition: Any.h:46
CPPU_DLLPUBLIC void uno_type_any_constructAndConvert(uno_Any *pDest, void *pSource, struct _typelib_TypeDescriptionReference *pType, struct _uno_Mapping *mapping) SAL_THROW_EXTERN_C()
Constructs an any with a given value and converts/ maps interfaces.
CPPU_DLLPUBLIC void uno_any_destruct(uno_Any *pValue, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
Destructs an any.
T * mapOut(T *pT, cssu::Environment const &outerEnv)
Helpers for mapping objects relative to the current environment.
Definition: Map.hxx:41
C++ wrapper for binary C uno_Environment.
Definition: environment.hxx:45
const ::com::sun::star::uno::Type & getCppuType(SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Any *)
Gets the meta type of IDL type any.
Definition: Any.h:364