Uno/Cpp/Spec/Shield Helpers

From Apache OpenOffice Wiki
< Uno‎ | Cpp‎ | Spec
Revision as of 19:36, 6 September 2006 by Kr (Talk | contribs)

Jump to: navigation, search

Type: specification State: draft

Feature

Functions for easily mapping objects to or from the thread-safe C++ environment.

API

[cpp] cppu/Shield.hxx

 template<class T> inline com::sun::star::uno::Reference<T> shield(T * pT) 
 template<class T> inline com::sun::star::uno::Reference<T> shield(com::sun::star::uno::Reference<T> const & rT)
 template<class T> inline com::sun::star::uno::Reference<T> unshield(T * pT)
 template<class T> inline com::sun::star::uno::Reference<T> unshield(com::sun::star::uno::Reference<T> const & rT)
 com::sun::star::uno::Any shieldAny  (com::sun::star::uno::Any const & any)
 com::sun::star::uno::Any unshieldAny(com::sun::star::uno::Any const & any)

Dependencies

Personal tools