Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_REFLECTION_XIDLMETHOD_HDL
2 : #define INCLUDED_COM_SUN_STAR_REFLECTION_XIDLMETHOD_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : #include "com/sun/star/reflection/InvocationTargetException.hdl"
8 : #include "com/sun/star/reflection/ParamInfo.hdl"
9 : #include "com/sun/star/reflection/MethodMode.hdl"
10 : namespace com { namespace sun { namespace star { namespace reflection { class XIdlClass; } } } }
11 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
12 : #include "com/sun/star/reflection/XIdlMember.hdl"
13 : #include "com/sun/star/uno/Any.h"
14 : #include "com/sun/star/uno/Reference.h"
15 : #include "com/sun/star/uno/Sequence.h"
16 : #include "cppu/macros.hxx"
17 :
18 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
19 :
20 : namespace com { namespace sun { namespace star { namespace reflection {
21 :
22 75324 : class SAL_NO_VTABLE XIdlMethod : public css::reflection::XIdlMember
23 : {
24 : public:
25 :
26 : // Methods
27 : virtual ::com::sun::star::uno::Reference< css::reflection::XIdlClass > SAL_CALL getReturnType() = 0;
28 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getParameterTypes() = 0;
29 : virtual ::com::sun::star::uno::Sequence< css::reflection::ParamInfo > SAL_CALL getParameterInfos() = 0;
30 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getExceptionTypes() = 0;
31 : virtual css::reflection::MethodMode SAL_CALL getMode() = 0;
32 : virtual ::com::sun::star::uno::Any SAL_CALL invoke( const ::com::sun::star::uno::Any& obj, ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& args ) = 0;
33 :
34 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
35 :
36 : protected:
37 73534 : ~XIdlMethod() throw () {} // avoid warnings about virtual members and non-virtual dtor
38 : };
39 :
40 :
41 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::reflection::XIdlMethod const *);
42 : } } } }
43 :
44 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::reflection::XIdlMethod > *) SAL_THROW(());
45 :
46 : #endif
|