LibreOffice
LibreOffice 4.2 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
Any.hxx File Reference
#include <sal/config.h>
#include <cassert>
#include <iomanip>
#include <ostream>
#include <com/sun/star/uno/Any.h>
#include <uno/data.h>
#include <uno/sequence2.h>
#include <com/sun/star/uno/Type.hxx>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/genfunc.hxx>
#include <cppu/unotype.hxx>

Go to the source code of this file.

Namespaces

 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::uno
 

Functions

template<class C >
Any com::sun::star::uno::makeAny (const C &value) throw ()
 Template function to generically construct an any from a C++ value. More...
 
template<>
Any com::sun::star::uno::makeAny (bool const &value) throw ()
 
template<class C >
void com::sun::star::uno::operator<<= (Any &rAny, const C &value) throw ()
 Template binary <<= operator to set the value of an any. More...
 
void com::sun::star::uno::operator<<= (Any &rAny, bool const &value) throw ()
 
template<class C >
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, C &value) throw ()
 Template binary >>= operator to assign a value from an any. More...
 
sal_Bool com::sun::star::uno::operator>>= (const ::com::sun::star::uno::Any &rAny, sal_Bool &value) throw ()
 
sal_Bool com::sun::star::uno::operator== (const Any &rAny, const sal_Bool &value) throw ()
 
template<>
sal_Bool com::sun::star::uno::operator>>= (Any const &rAny, bool &value) throw ()
 
template<>
sal_Bool com::sun::star::uno::operator== (Any const &rAny, bool const &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const ::com::sun::star::uno::Any &rAny, sal_Int8 &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, sal_Int16 &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, sal_uInt16 &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, sal_Int32 &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, sal_uInt32 &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, sal_Int64 &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, sal_uInt64 &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, float &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, double &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny,::rtl::OUString &value) throw ()
 
sal_Bool com::sun::star::uno::operator== (const Any &rAny, const ::rtl::OUString &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, Type &value) throw ()
 
sal_Bool com::sun::star::uno::operator== (const Any &rAny, const Type &value) throw ()
 
sal_Bool com::sun::star::uno::operator>>= (const Any &rAny, Any &value) throw ()
 
sal_Bool com::sun::star::uno::operator== (const Any &rAny, const BaseReference &value) throw ()
 
template<class C >
sal_Bool com::sun::star::uno::operator== (const Any &rAny, const C &value) throw ()
 Template equality operator: compares set value of left side any to right side value. More...
 
template<class C >
sal_Bool com::sun::star::uno::operator!= (const Any &rAny, const C &value) throw ()
 Template unequality operator: compares set value of left side any to right side value. More...
 
rtl_uString * com::sun::star::uno::cppu_Any_extraction_failure_msg (uno_Any const *pAny, typelib_TypeDescriptionReference *pType) SAL_THROW_EXTERN_C()
 
template<typename charT , typename traits >
std::basic_ostream< charT,
traits > & 
com::sun::star::uno::operator<< (std::basic_ostream< charT, traits > &o, Any &any)
 Support for Any in std::ostream (and thus in CPPUNIT_ASSERT or SAL_INFO macros, for example). More...