Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_XML_SAX_XFASTSAXSERIALIZABLE_HDL
2 : #define INCLUDED_COM_SUN_STAR_XML_SAX_XFASTSAXSERIALIZABLE_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/Pair.hdl"
7 : #include "com/sun/star/beans/StringPair.hdl"
8 : #include "com/sun/star/uno/RuntimeException.hdl"
9 : #include "com/sun/star/uno/XInterface.hdl"
10 : #include "com/sun/star/xml/sax/SAXException.hdl"
11 : namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XFastDocumentHandler; } } } } }
12 : namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XFastTokenHandler; } } } } }
13 : #include "com/sun/star/uno/Reference.h"
14 : #include "com/sun/star/uno/Sequence.h"
15 : #include "cppu/macros.hxx"
16 : #include "rtl/ustring.hxx"
17 : #include "sal/types.h"
18 :
19 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
20 :
21 : namespace com { namespace sun { namespace star { namespace xml { namespace sax {
22 :
23 4097 : class SAL_NO_VTABLE XFastSAXSerializable : public css::uno::XInterface
24 : {
25 : public:
26 :
27 : // Methods
28 : virtual void SAL_CALL fastSerialize( const ::com::sun::star::uno::Reference< css::xml::sax::XFastDocumentHandler >& handler, const ::com::sun::star::uno::Reference< css::xml::sax::XFastTokenHandler >& tokenHandler, const ::com::sun::star::uno::Sequence< css::beans::StringPair >& namespaces, const ::com::sun::star::uno::Sequence< css::beans::Pair< ::rtl::OUString, ::sal_Int32 > >& registerNamespaces ) /* throw (css::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) */ = 0;
29 :
30 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
31 :
32 : protected:
33 4079 : ~XFastSAXSerializable() throw () {} // avoid warnings about virtual members and non-virtual dtor
34 : };
35 :
36 :
37 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::sax::XFastSAXSerializable const *);
38 : } } } } }
39 :
40 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::xml::sax::XFastSAXSerializable > *) SAL_THROW(());
41 :
42 : #endif
|