UDK 3.2.7 C/C++ API Reference
Classes | Namespaces | Functions
com/sun/star/uno/Any.h File Reference
#include <uno/any2.h>
#include <typelib/typedescription.h>
#include <com/sun/star/uno/Type.h>
#include "cppu/unotype.hxx"
#include <rtl/alloc.h>

Go to the source code of this file.

Classes

class  com::sun::star::uno::Any
 C++ class representing an IDL any. More...

Namespaces

namespace  com
namespace  com::sun
namespace  com::sun::star
namespace  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.
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.
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.
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.
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.
sal_Bool com::sun::star::uno::operator>>= (const 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 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 ()
const ::com::sun::star::uno::TypegetCppuType (SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Any *) throw ()
 Gets the meta type of IDL type any.

Function Documentation

const ::com::sun::star::uno::Type& getCppuType ( SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Any ) throw () [inline]

Gets the meta type of IDL type any.

There are cases (involving templates) where uses of getCppuType are known to not compile. Use cppu::UnoType or cppu::getTypeFavourUnsigned instead.

The dummy parameter is just a typed pointer for function signature.

Returns:
type of IDL type any
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines