19 #ifndef INCLUDED_CPPUHELPER_PROPTYPEHLP_H
20 #define INCLUDED_CPPUHELPER_PROPTYPEHLP_H
22 #include <com/sun/star/lang/IllegalArgumentException.hpp>
23 #include <com/sun/star/uno/TypeClass.hpp>
35 template <
class target >
36 inline void SAL_CALL
convertPropertyValue( target &value , const ::com::sun::star::uno::Any & a);
38 template <
class target >
44 inline void SAL_CALL
convertPropertyValue( sal_Int64 & target , const ::com::sun::star::uno::Any & source )
45 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
46 inline void SAL_CALL
convertPropertyValue( sal_uInt64 & target, const ::com::sun::star::uno::Any & source )
47 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
48 inline void SAL_CALL
convertPropertyValue( sal_Int32 & target , const ::com::sun::star::uno::Any & source )
49 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
50 inline void SAL_CALL
convertPropertyValue( sal_uInt32 & target, const ::com::sun::star::uno::Any & source )
51 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
52 inline void SAL_CALL
convertPropertyValue( sal_Int16 & target , const ::com::sun::star::uno::Any & source )
53 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
54 inline void SAL_CALL
convertPropertyValue( sal_uInt16 & target, const ::com::sun::star::uno::Any & source )
55 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
57 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
58 inline void SAL_CALL
convertPropertyValue(
float & target , const ::com::sun::star::uno::Any & source )
59 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
60 inline void SAL_CALL
convertPropertyValue(
double &target , const ::com::sun::star::uno::Any &source )
61 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
63 SAL_THROW( (::com::sun::star::lang::IllegalArgumentException) );
void convertPropertyValue(target &value, const ::com::sun::star::uno::Any &a)
Converts the value stored in an any to a concrete C++ type.
Definition: proptypehlp.hxx:35
signed char sal_Int8
Definition: types.h:51
Definition: Enterable.hxx:26
C++ class representing an IDL any.
Definition: Any.h:46
#define SAL_THROW(x)
Exception specification documentation.
Definition: types.h:361
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:82