Difference between revisions of "Uno/Cpp/Spec/Shield Helpers"
From Apache OpenOffice Wiki
m (Fixed namespace.) |
m (→API) |
||
Line 12: | Line 12: | ||
template<class T> inline T * cppu::shield (T * pT); | template<class T> inline T * cppu::shield (T * pT); | ||
template<class T> inline T * cppu::unshield(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::shieldAny (cssu::Any const & any, cssu::Any * res); |
− | inline void cppu::unshieldAny(cssu::Any const & any, cssu::Any * res) | + | inline void cppu::unshieldAny(cssu::Any const & any, cssu::Any * res); |
</code> | </code> | ||
Revision as of 14:54, 29 September 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);