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.pReserved ) != 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.pReserved ) != 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.pReserved ); 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.pReserved ); in operator >>=()
292 value = * reinterpret_cast< const sal_Int16 * >( &rAny.pReserved ); 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.pReserved ); in operator >>=()
308 value = * reinterpret_cast< const sal_uInt16 * >( &rAny.pReserved ); 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.pReserved ); in operator >>=()
324 value = * reinterpret_cast< const sal_Int16 * >( &rAny.pReserved ); in operator >>=()
327 value = * reinterpret_cast< const sal_uInt16 * >( &rAny.pReserved ); in operator >>=()
331 value = * reinterpret_cast< const sal_Int32 * >( &rAny.pReserved ); 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.pReserved ); in operator >>=()
346 value = * reinterpret_cast< const sal_Int16 * >( &rAny.pReserved ); in operator >>=()
349 value = * reinterpret_cast< const sal_uInt16 * >( &rAny.pReserved ); in operator >>=()
353 value = * reinterpret_cast< const sal_uInt32 * >( &rAny.pReserved ); 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.pReserved ); in operator >>=()
369 value = * reinterpret_cast< const sal_Int16 * >( &rAny.pReserved ); in operator >>=()
372 value = * reinterpret_cast< const sal_uInt16 * >( &rAny.pReserved ); in operator >>=()
375 value = * reinterpret_cast< const sal_Int32 * >( &rAny.pReserved ); in operator >>=()
378 value = * reinterpret_cast< const sal_uInt32 * >( &rAny.pReserved ); in operator >>=()
382 value = * reinterpret_cast< const sal_Int64 * >( in operator >>=()
391 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, sal_uInt64 & value ) SAL_THROW( () ) in operator >>=() argument
396 value = * reinterpret_cast< const sal_Int8 * >( &rAny.pReserved ); in operator >>=()
399 value = * reinterpret_cast< const sal_Int16 * >( &rAny.pReserved ); in operator >>=()
402 value = * reinterpret_cast< const sal_uInt16 * >( &rAny.pReserved ); in operator >>=()
405 value = * reinterpret_cast< const sal_Int32 * >( &rAny.pReserved ); in operator >>=()
408 value = * reinterpret_cast< const sal_uInt32 * >( &rAny.pReserved ); in operator >>=()
412 value = * reinterpret_cast< const sal_uInt64 * >( in operator >>=()
422 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, float & value ) SAL_THROW( () ) in operator >>=() argument
427 value = * reinterpret_cast< const sal_Int8 * >( &rAny.pReserved ); in operator >>=()
430 value = * reinterpret_cast< const sal_Int16 * >( &rAny.pReserved ); in operator >>=()
433 value = * reinterpret_cast< const sal_uInt16 * >( &rAny.pReserved ); in operator >>=()
436 value = * reinterpret_cast< const float * >( in operator >>=()
446 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, double & value ) SAL_THROW( () ) in operator >>=() argument
451 value = * reinterpret_cast< const sal_Int8 * >( &rAny.pReserved ); in operator >>=()
454 value = * reinterpret_cast< const sal_Int16 * >( &rAny.pReserved ); in operator >>=()
457 value = * reinterpret_cast< const sal_uInt16 * >( &rAny.pReserved ); in operator >>=()
460 value = * reinterpret_cast< const sal_Int32 * >( &rAny.pReserved ); in operator >>=()
463 value = * reinterpret_cast< const sal_uInt32 * >( &rAny.pReserved ); in operator >>=()
466 value = * reinterpret_cast< const float * >( in operator >>=()
470 value = * reinterpret_cast< const double * >( in operator >>=()
480 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, ::rtl::OUString & value ) SAL_THROW( () ) in operator >>=() argument
484 value = * reinterpret_cast< const ::rtl::OUString * >( &rAny.pReserved ); in operator >>=()
490 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const ::rtl::OUString & value ) SAL_THROW(… in operator ==() argument
493 value.equals( * reinterpret_cast< const ::rtl::OUString * >( &rAny.pReserved ) )); in operator ==()
497 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Type & value ) SAL_THROW( () ) in operator >>=() argument
501 value = * reinterpret_cast< const Type * >( &rAny.pReserved ); in operator >>=()
507 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const Type & value ) SAL_THROW( () ) in operator ==() argument
510 value.equals( * reinterpret_cast< const Type * >( &rAny.pReserved ) )); in operator ==()
514 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Any & value ) SAL_THROW( () ) in operator >>=() argument
516 if (&rAny != &value) in operator >>=()
519 &value, rAny.pData, rAny.pType, in operator >>=()
526 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const BaseReference & value ) SAL_THROW( (… in operator ==() argument
530 return reinterpret_cast< const BaseReference * >( &rAny.pReserved )->operator == ( value ); in operator ==()
538 inline sal_Bool SAL_CALL operator == ( const Any & rAny, const C & value ) SAL_THROW( () ) in operator ==() argument
540 const Type & rType = ::cppu::getTypeFavourUnsigned(&value); in operator ==()
543 const_cast< C * >( &value ), rType.getTypeLibType(), in operator ==()
549 inline sal_Bool SAL_CALL operator != ( const Any & rAny, const C & value ) SAL_THROW( () ) in operator !=() argument
551 return (! operator == ( rAny, value )); in operator !=()
563 T value = T(); in get() local
564 if (! (*this >>= value)) { in get()
569 ::cppu::getTypeFavourUnsigned(&value).getTypeLibType() ), in get()
573 return value; in get()