Difference between revisions of "Uno/Cpp/Spec/Shield Helpers"

From Apache OpenOffice Wiki
< Uno‎ | Cpp‎ | Spec
Jump to: navigation, search
m (Updated state.)
Line 23: Line 23:
 
[[Category:Uno]]
 
[[Category:Uno]]
 
[[Category:Uno:Cpp]]
 
[[Category:Uno:Cpp]]
 +
[[Category:Multi-Threading]]

Revision as of 07:24, 19 June 2007

Type: Specification State: Evolving Availability: URE 1.3 (SRC680_m212)

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 * cppu::shield  (T * pT);
 template<class T> inline T * cppu::unshield(T * pT);
 inline void cppu::shieldAny  (cssu::Any const & any, cssu::Any * res);
 inline void cppu::unshieldAny(cssu::Any const & any, cssu::Any * res);

Dependencies

Personal tools