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

From Apache OpenOffice Wiki
< Uno‎ | Cpp‎ | Spec
Jump to: navigation, search
m (Fixed category.)
m (Shield Helpers: Added header name.)
Line 10: Line 10:
  
 
;API
 
;API
 +
;Headers: cppu/Shield.hxx
 
: <code>template<class T> inline com::sun::star::uno::Reference<T> shield(T * pT)</code>
 
: <code>template<class T> inline com::sun::star::uno::Reference<T> shield(T * pT)</code>
 
: <code>template<class T> inline com::sun::star::uno::Reference<T> shield(com::sun::star::uno::Reference<T> const & rT)</code>
 
: <code>template<class T> inline com::sun::star::uno::Reference<T> shield(com::sun::star::uno::Reference<T> const & rT)</code>

Revision as of 12:07, 29 June 2006

version: 13061
state: draft
type: specification

Shield Helpers

Feature
Functions for easily mapping objects out or into the current environment.
Rationale
API
Headers
cppu/Shield.hxx
template<class T> inline com::sun::star::uno::Reference<T> shield(T * pT)
template<class T> inline com::sun::star::uno::Reference<T> shield(com::sun::star::uno::Reference<T> const & rT)
template<class T> inline com::sun::star::uno::Reference<T> unshield(T * pT)
template<class T> inline com::sun::star::uno::Reference<T> unshield(com::sun::star::uno::Reference<T> const & rT)
com::sun::star::uno::Any shieldAny (com::sun::star::uno::Any const & any)
com::sun::star::uno::Any unshieldAny(com::sun::star::uno::Any const & any)
Dependencies
Binary UNO / Environment Stacks
Compatibility Issues
None.
Personal tools