Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_BEANS_XINTROSPECTIONACCESS_HDL
2 : : #define INCLUDED_COM_SUN_STAR_BEANS_XINTROSPECTIONACCESS_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/beans/IllegalTypeException.hdl"
7 : : #include "com/sun/star/lang/NoSuchMethodException.hdl"
8 : : #include "com/sun/star/uno/RuntimeException.hdl"
9 : : namespace com { namespace sun { namespace star { namespace reflection { class XIdlMethod; } } } }
10 : : #include "com/sun/star/container/NoSuchElementException.hdl"
11 : : #include "com/sun/star/beans/Property.hdl"
12 : : #include "com/sun/star/uno/XInterface.hdl"
13 : : #include "com/sun/star/uno/Reference.h"
14 : : #include "com/sun/star/uno/Sequence.h"
15 : : #include "com/sun/star/uno/Type.h"
16 : : #include "cppu/macros.hxx"
17 : : #include "rtl/ustring.hxx"
18 : : #include "sal/types.h"
19 : :
20 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 : :
22 : : namespace com { namespace sun { namespace star { namespace beans {
23 : :
24 : 19952 : class SAL_NO_VTABLE XIntrospectionAccess : public ::com::sun::star::uno::XInterface
25 : : {
26 : : public:
27 : :
28 : : // Methods
29 : : virtual ::sal_Int32 SAL_CALL getSuppliedMethodConcepts( ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual ::sal_Int32 SAL_CALL getSuppliedPropertyConcepts( ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::beans::Property SAL_CALL getProperty( const ::rtl::OUString& aName, ::sal_Int32 nPropertyConcepts ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::sal_Bool SAL_CALL hasProperty( const ::rtl::OUString& aName, ::sal_Int32 nPropertyConcepts ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties( ::sal_Int32 nPropertyConcepts ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlMethod > SAL_CALL getMethod( const ::rtl::OUString& aName, ::sal_Int32 nMethodConcepts ) throw (::com::sun::star::lang::NoSuchMethodException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::sal_Bool SAL_CALL hasMethod( const ::rtl::OUString& aName, ::sal_Int32 nMethodConcepts ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlMethod > > SAL_CALL getMethods( ::sal_Int32 nMethodConcepts ) throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getSupportedListeners( ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL queryAdapter( const ::com::sun::star::uno::Type& aInterfaceType ) throw (::com::sun::star::beans::IllegalTypeException, ::com::sun::star::uno::RuntimeException) = 0;
39 : :
40 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
41 : :
42 : : protected:
43 : 19704 : ~XIntrospectionAccess() throw () {} // avoid warnings about virtual members and non-virtual dtor
44 : : };
45 : :
46 : :
47 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::beans::XIntrospectionAccess const *);
48 : : } } } }
49 : :
50 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XIntrospectionAccess > *) SAL_THROW(());
51 : :
52 : : #endif
|