00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _CPPUHELPER_PROPTYPEHLP_H
00020 #define _CPPUHELPER_PROPTYPEHLP_H
00021
00022 #include <com/sun/star/lang/IllegalArgumentException.hpp>
00023 #include <com/sun/star/uno/TypeClass.hpp>
00024
00025
00026 namespace cppu {
00027
00035 template < class target >
00036 inline void SAL_CALL convertPropertyValue( target &value , const ::com::sun::star::uno::Any & a);
00037
00038 template < class target >
00039 inline void SAL_CALL convertPropertyValue( target &value , ::com::sun::star::uno::Any & a);
00040
00044 inline void SAL_CALL convertPropertyValue( sal_Int64 & target , const ::com::sun::star::uno::Any & source )
00045 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00046 inline void SAL_CALL convertPropertyValue( sal_uInt64 & target, const ::com::sun::star::uno::Any & source )
00047 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00048 inline void SAL_CALL convertPropertyValue( sal_Int32 & target , const ::com::sun::star::uno::Any & source )
00049 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00050 inline void SAL_CALL convertPropertyValue( sal_uInt32 & target, const ::com::sun::star::uno::Any & source )
00051 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00052 inline void SAL_CALL convertPropertyValue( sal_Int16 & target , const ::com::sun::star::uno::Any & source )
00053 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00054 inline void SAL_CALL convertPropertyValue( sal_uInt16 & target, const ::com::sun::star::uno::Any & source )
00055 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00056 inline void SAL_CALL convertPropertyValue( sal_Int8 & target , const ::com::sun::star::uno::Any & source )
00057 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00058 inline void SAL_CALL convertPropertyValue( float & target , const ::com::sun::star::uno::Any & source )
00059 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00060 inline void SAL_CALL convertPropertyValue( double &target , const ::com::sun::star::uno::Any &source )
00061 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00062 inline void SAL_CALL convertPropertyValue( ::rtl::OUString &target , const ::com::sun::star::uno::Any &source )
00063 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
00064
00065 }
00066
00067
00068 #endif
00069
00070