Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_REFLECTION_XIDLCLASS_HDL
2 : #define INCLUDED_COM_SUN_STAR_REFLECTION_XIDLCLASS_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace com { namespace sun { namespace star { namespace reflection { class XIdlField; } } } }
8 : #include "com/sun/star/uno/TypeClass.hdl"
9 : namespace com { namespace sun { namespace star { namespace reflection { class XIdlArray; } } } }
10 : namespace com { namespace sun { namespace star { namespace reflection { class XIdlClass; } } } }
11 : namespace com { namespace sun { namespace star { namespace reflection { class XIdlMethod; } } } }
12 : #include "com/sun/star/uno/XInterface.hdl"
13 : #include "com/sun/star/uno/Uik.hdl"
14 : #include "com/sun/star/uno/Any.h"
15 : #include "com/sun/star/uno/Reference.h"
16 : #include "com/sun/star/uno/Sequence.h"
17 : #include "cppu/macros.hxx"
18 : #include "rtl/ustring.hxx"
19 : #include "sal/types.h"
20 :
21 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
22 :
23 : namespace com { namespace sun { namespace star { namespace reflection {
24 :
25 8178 : class SAL_NO_VTABLE XIdlClass : public css::uno::XInterface
26 : {
27 : public:
28 :
29 : // Methods
30 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getClasses() = 0;
31 : SAL_DEPRECATED_INTERNAL("marked @deprecated in UNOIDL") virtual ::com::sun::star::uno::Reference< css::reflection::XIdlClass > SAL_CALL getClass( const ::rtl::OUString& aName ) = 0;
32 : virtual ::sal_Bool SAL_CALL equals( const ::com::sun::star::uno::Reference< css::reflection::XIdlClass >& Type ) = 0;
33 : virtual ::sal_Bool SAL_CALL isAssignableFrom( const ::com::sun::star::uno::Reference< css::reflection::XIdlClass >& xType ) = 0;
34 : virtual css::uno::TypeClass SAL_CALL getTypeClass() = 0;
35 : virtual ::rtl::OUString SAL_CALL getName() = 0;
36 : SAL_DEPRECATED_INTERNAL("marked @deprecated in UNOIDL") virtual css::uno::Uik SAL_CALL getUik() = 0;
37 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getSuperclasses() = 0;
38 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::reflection::XIdlClass > > SAL_CALL getInterfaces() = 0;
39 : virtual ::com::sun::star::uno::Reference< css::reflection::XIdlClass > SAL_CALL getComponentType() = 0;
40 : virtual ::com::sun::star::uno::Reference< css::reflection::XIdlField > SAL_CALL getField( const ::rtl::OUString& aName ) = 0;
41 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::reflection::XIdlField > > SAL_CALL getFields() = 0;
42 : virtual ::com::sun::star::uno::Reference< css::reflection::XIdlMethod > SAL_CALL getMethod( const ::rtl::OUString& aName ) = 0;
43 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::reflection::XIdlMethod > > SAL_CALL getMethods() = 0;
44 : virtual ::com::sun::star::uno::Reference< css::reflection::XIdlArray > SAL_CALL getArray() = 0;
45 : virtual void SAL_CALL createObject( ::com::sun::star::uno::Any& obj ) = 0;
46 :
47 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
48 :
49 : protected:
50 2203 : ~XIdlClass() throw () {} // avoid warnings about virtual members and non-virtual dtor
51 : };
52 :
53 :
54 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::reflection::XIdlClass const *);
55 : } } } }
56 :
57 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::reflection::XIdlClass > *) SAL_THROW(());
58 :
59 : #endif
|