AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
proptypehlp.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 #ifndef INCLUDED_CPPUHELPER_PROPTYPEHLP_H
4 #define INCLUDED_CPPUHELPER_PROPTYPEHLP_H
5 
6 #include "sal/types.h"
7 
8 namespace com { namespace sun { namespace star { namespace uno { class Any; } } } }
9 
10 namespace cppu {
11 
19 template < class target >
20 inline void SAL_CALL convertPropertyValue( target &value , const css::uno::Any & a);
21 
25 inline void SAL_CALL convertPropertyValue( sal_Bool & target , const css::uno::Any & source );
26 inline void SAL_CALL convertPropertyValue( bool & target , const css::uno::Any & source );
27 inline void SAL_CALL convertPropertyValue( sal_Int64 & target , const css::uno::Any & source );
28 inline void SAL_CALL convertPropertyValue( sal_uInt64 & target, const css::uno::Any & source );
29 inline void SAL_CALL convertPropertyValue( sal_Int32 & target , const css::uno::Any & source );
30 inline void SAL_CALL convertPropertyValue( sal_uInt32 & target, const css::uno::Any & source );
31 inline void SAL_CALL convertPropertyValue( sal_Int16 & target , const css::uno::Any & source );
32 inline void SAL_CALL convertPropertyValue( sal_uInt16 & target, const css::uno::Any & source );
33 inline void SAL_CALL convertPropertyValue( sal_Int8 & target , const css::uno::Any & source );
34 inline void SAL_CALL convertPropertyValue( float & target , const css::uno::Any & source );
35 inline void SAL_CALL convertPropertyValue( double &target , const css::uno::Any &source );
36 
37 } // end namespace cppu
38 
39 
40 #endif
41 
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unsigned char sal_Bool
Definition: types.h:18
void convertPropertyValue(target &value, const css::uno::Any &a)
Converts the value stored in an any to a concrete C++ type.
Definition: proptypehlp.hxx:15
signed char sal_Int8
Definition: types.h:23