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

From Apache OpenOffice Wiki
< Uno‎ | Cpp‎ | Spec
Jump to: navigation, search
m (API)
(Spl)
Line 19: Line 19:
 
* [[Uno/Cpp/Spec/Environment Stack]]
 
* [[Uno/Cpp/Spec/Environment Stack]]
  
 
+
[[Category:Draft]]
[[Category:Uno:Cpp:Spec]]
+
[[Category:Spec]]
[[Category:Uno:draft]]
+
[[Category:Uno]]
 +
[[Category:Uno:Cpp]]

Revision as of 08:18, 29 November 2006

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 * 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