Lines Matching refs:value
50 inline Any::Any( T const & value ) in Any() argument
53 this, const_cast<T *>(&value), in Any()
54 ::cppu::getTypeFavourUnsigned(&value).getTypeLibType(), in Any()
58 inline Any::Any( bool value ) in Any() argument
60 sal_Bool b = value; in Any()
180 inline Any SAL_CALL makeAny( const C & value ) SAL_THROW( () ) in makeAny() argument
182 return Any( &value, ::cppu::getTypeFavourUnsigned(&value) ); in makeAny()
188 inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW( () ) in makeAny() argument
190 const sal_Bool b = value; in makeAny()
196 inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW( () ) in operator <<=() argument
198 const Type & rType = ::cppu::getTypeFavourUnsigned(&value); in operator <<=()
200 &rAny, const_cast< C * >( &value ), rType.getTypeLibType(), in operator <<=()
206 inline void SAL_CALL operator <<= ( Any & rAny, bool const & value ) in operator <<=() argument
209 sal_Bool b = value; in operator <<=()
217 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, C & value ) SAL_THROW( () ) in operator >>=() argument
219 const Type & rType = ::cppu::getTypeFavourUnsigned(&value); in operator >>=()
221 &value, rType.getTypeLibType(), in operator >>=()
229 inline sal_Bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Bool & value )… in operator >>=() argument
233 value = (* reinterpret_cast< const sal_Bool * >( rAny.pData ) != sal_False); in operator >>=()
239 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const sal_Bool & value ) SAL_THROW( () ) in operator ==() argument
242 (value != sal_False) == (* reinterpret_cast< const sal_Bool * >( rAny.pData ) != sal_False)); in operator ==()
247 inline sal_Bool SAL_CALL operator >>= ( Any const & rAny, bool & value ) in operator >>=() argument
252 value = *reinterpret_cast< sal_Bool const * >( in operator >>=()
261 inline sal_Bool SAL_CALL operator == ( Any const & rAny, bool const & value ) in operator ==() argument
265 (value == in operator ==()
272 inline sal_Bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & rAny, sal_Int8 & value )… in operator >>=() argument
276 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
283 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int16 & value ) SAL_THROW( () ) in operator >>=() argument
288 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
292 value = * reinterpret_cast< const sal_Int16 * >( rAny.pData ); in operator >>=()
299 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt16 & value ) SAL_THROW( () ) in operator >>=() argument
304 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
308 value = * reinterpret_cast< const sal_uInt16 * >( rAny.pData ); in operator >>=()
316 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int32 & value ) SAL_THROW( () ) in operator >>=() argument
321 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
324 value = * reinterpret_cast< const sal_Int16 * >( rAny.pData ); in operator >>=()
327 value = * reinterpret_cast< const sal_uInt16 * >( rAny.pData ); in operator >>=()
331 value = * reinterpret_cast< const sal_Int32 * >( rAny.pData ); in operator >>=()
338 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt32 & value ) SAL_THROW( () ) in operator >>=() argument
343 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
346 value = * reinterpret_cast< const sal_Int16 * >( rAny.pData ); in operator >>=()
349 value = * reinterpret_cast< const sal_uInt16 * >( rAny.pData ); in operator >>=()
353 value = * reinterpret_cast< const sal_uInt32 * >( rAny.pData ); in operator >>=()
361 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_Int64 & value ) SAL_THROW( () ) in operator >>=() argument
366 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
369 value = * reinterpret_cast< const sal_Int16 * >( rAny.pData ); in operator >>=()
372 value = * reinterpret_cast< const sal_uInt16 * >( rAny.pData ); in operator >>=()
375 value = * reinterpret_cast< const sal_Int32 * >( rAny.pData ); in operator >>=()
378 value = * reinterpret_cast< const sal_uInt32 * >( rAny.pData ); in operator >>=()
382 value = * reinterpret_cast< const sal_Int64 * >( rAny.pData ); in operator >>=()
390 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt64 & value ) SAL_THROW( () ) in operator >>=() argument
395 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
398 value = * reinterpret_cast< const sal_Int16 * >( rAny.pData ); in operator >>=()
401 value = * reinterpret_cast< const sal_uInt16 * >( rAny.pData ); in operator >>=()
404 value = * reinterpret_cast< const sal_Int32 * >( rAny.pData ); in operator >>=()
407 value = * reinterpret_cast< const sal_uInt32 * >( rAny.pData ); in operator >>=()
411 value = * reinterpret_cast< const sal_uInt64 * >( rAny.pData ); in operator >>=()
420 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, float & value ) SAL_THROW( () ) in operator >>=() argument
425 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
428 value = * reinterpret_cast< const sal_Int16 * >( rAny.pData ); in operator >>=()
431 value = * reinterpret_cast< const sal_uInt16 * >( rAny.pData ); in operator >>=()
434 value = * reinterpret_cast< const float * >( rAny.pData ); in operator >>=()
443 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, double & value ) SAL_THROW( () ) in operator >>=() argument
448 value = * reinterpret_cast< const sal_Int8 * >( rAny.pData ); in operator >>=()
451 value = * reinterpret_cast< const sal_Int16 * >( rAny.pData ); in operator >>=()
454 value = * reinterpret_cast< const sal_uInt16 * >( rAny.pData ); in operator >>=()
457 value = * reinterpret_cast< const sal_Int32 * >( rAny.pData ); in operator >>=()
460 value = * reinterpret_cast< const sal_uInt32 * >( rAny.pData ); in operator >>=()
463 value = * reinterpret_cast< const float * >( rAny.pData ); in operator >>=()
466 value = * reinterpret_cast< const double * >( rAny.pData ); in operator >>=()
475 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, ::rtl::OUString & value ) SAL_THROW( () ) in operator >>=() argument
479 value = * reinterpret_cast< const ::rtl::OUString * >( rAny.pData ); in operator >>=()
485 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const ::rtl::OUString & value ) SAL_THROW(… in operator ==() argument
488 value.equals( * reinterpret_cast< const ::rtl::OUString * >( rAny.pData ) )); in operator ==()
492 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Type & value ) SAL_THROW( () ) in operator >>=() argument
496 value = * reinterpret_cast< const Type * >( rAny.pData ); in operator >>=()
502 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const Type & value ) SAL_THROW( () ) in operator ==() argument
505 value.equals( * reinterpret_cast< const Type * >( rAny.pData ) )); in operator ==()
509 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Any & value ) SAL_THROW( () ) in operator >>=() argument
511 if (&rAny != &value) in operator >>=()
514 &value, rAny.pData, rAny.pType, in operator >>=()
521 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const BaseReference & value ) SAL_THROW( (… in operator ==() argument
525 return reinterpret_cast< const BaseReference * >( rAny.pData )->operator == ( value ); in operator ==()
533 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const C & value ) SAL_THROW( () ) in operator ==() argument
535 const Type & rType = ::cppu::getTypeFavourUnsigned(&value); in operator ==()
538 const_cast< C * >( &value ), rType.getTypeLibType(), in operator ==()
544 inline sal_Bool SAL_CALL operator != ( const Any & rAny, const C & value ) SAL_THROW( () ) in operator !=() argument
546 return (! operator == ( rAny, value )); in operator !=()
558 T value = T(); in get() local
559 if (! (*this >>= value)) { in get()
564 ::cppu::getTypeFavourUnsigned(&value).getTypeLibType() ), in get()
568 return value; in get()