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

From Apache OpenOffice Wiki
< Uno‎ | Cpp‎ | Spec
Jump to: navigation, search
m (Uno/Cpp/Test/Shield Helpers moved to Uno/Cpp/Spec/Shield Helpers: Fixed namespace again.)
(No difference)

Revision as of 15:32, 20 April 2006

version: 8690
state: draft
type: specification

Shield Helpers

Feature
Functions for easily mapping objects out or into the current environment.
Rationale
API
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