Uno/Cpp/Spec/Shield Helpers

From Apache OpenOffice Wiki
< Uno‎ | Cpp‎ | Spec
Revision as of 14:44, 29 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

 namespace cssu = com::sun::star::uno;
 template<class T> inline T * shield  (T * pT);
 template<class T> inline T * unshield(T * pT);
 inline void shieldAny  (cssu::Any const & any, cssu::Any * res)
 inline void unshieldAny(cssu::Any const & any, cssu::Any * res)

Dependencies

Personal tools