Difference between revisions of "Uno/Cpp/Spec/Shield Helpers"
From Apache OpenOffice Wiki
m (→API: Fixed "code" tag ...) |
|||
| Line 5: | Line 5: | ||
==API== | ==API== | ||
| − | < | + | <source lang="cpp"> |
cppu/Shield.hxx | cppu/Shield.hxx | ||
| Line 14: | Line 14: | ||
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); | ||
| − | </ | + | </source> |
==Dependencies== | ==Dependencies== | ||
Latest revision as of 21:02, 23 March 2008
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
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);