19 #ifndef _COM_SUN_STAR_UNO_ANY_H_
20 #define _COM_SUN_STAR_UNO_ANY_H_
51 inline static void * SAL_CALL
operator new (
size_t nSize )
SAL_THROW(())
53 inline static void SAL_CALL
operator delete (
void * pMem )
SAL_THROW(())
55 inline static void * SAL_CALL
operator new ( size_t,
void * pMem )
SAL_THROW(())
57 inline static void SAL_CALL
operator delete (
void *,
void * )
SAL_THROW(())
70 explicit inline Any( T
const & value );
72 explicit inline Any(
bool value );
117 {
return *
reinterpret_cast< const Type *
>( &
pType ); }
157 inline const void * SAL_CALL
getValue() const SAL_THROW(())
160 #if ! defined(EXCEPTIONS_OFF)
174 template <
typename T>
175 inline T
get()
const;
176 #endif // ! defined(EXCEPTIONS_OFF)
203 inline void SAL_CALL
clear() SAL_THROW(());
219 template <typename T>
220 inline
bool has() const;
228 inline
sal_Bool SAL_CALL operator == ( const
Any & rAny ) const SAL_THROW(());
235 inline
sal_Bool SAL_CALL operator != ( const
Any & rAny ) const SAL_THROW(());
239 explicit
Any( sal_uInt16 );
240 #if defined(_MSC_VER)
244 #if ! defined(EXCEPTIONS_OFF)
246 sal_uInt16 get<sal_uInt16>()
const;
247 #endif // ! defined(EXCEPTIONS_OFF)
249 bool has<sal_uInt16>()
const;
250 #endif // defined(_MSC_VER)
279 inline void SAL_CALL
operator <<= ( Any & rAny,
bool const & value )
371 return ::cppu::UnoType< ::com::sun::star::uno::Any >::get();