LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/xml/xpath - XXPathAPI.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-12-17 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_XML_XPATH_XXPATHAPI_HDL
       2             : #define INCLUDED_COM_SUN_STAR_XML_XPATH_XXPATHAPI_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/uno/RuntimeException.hdl"
       7             : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNodeList; } } } } }
       8             : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNode; } } } } }
       9             : namespace com { namespace sun { namespace star { namespace xml { namespace xpath { class XXPathExtension; } } } } }
      10             : #include "com/sun/star/uno/XInterface.hdl"
      11             : namespace com { namespace sun { namespace star { namespace xml { namespace xpath { class XXPathObject; } } } } }
      12             : #include "com/sun/star/xml/xpath/XPathException.hdl"
      13             : #include "com/sun/star/uno/Reference.h"
      14             : #include "cppu/macros.hxx"
      15             : #include "rtl/ustring.hxx"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      18             : 
      19             : namespace com { namespace sun { namespace star { namespace xml { namespace xpath {
      20             : 
      21        2371 : class SAL_NO_VTABLE XXPathAPI : public css::uno::XInterface
      22             : {
      23             : public:
      24             : 
      25             :     // Methods
      26             :     virtual void SAL_CALL registerNS( const ::rtl::OUString& prefix, const ::rtl::OUString& url ) = 0;
      27             :     virtual void SAL_CALL unregisterNS( const ::rtl::OUString& prefix, const ::rtl::OUString& url ) = 0;
      28             :     virtual void SAL_CALL registerExtension( const ::rtl::OUString& serviceName ) = 0;
      29             :     virtual void SAL_CALL registerExtensionInstance( const ::com::sun::star::uno::Reference< css::xml::xpath::XXPathExtension >& aExtension ) = 0;
      30             :     virtual ::com::sun::star::uno::Reference< css::xml::xpath::XXPathObject > SAL_CALL eval( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& contextNode, const ::rtl::OUString& expr ) = 0;
      31             :     virtual ::com::sun::star::uno::Reference< css::xml::xpath::XXPathObject > SAL_CALL evalNS( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& contextNode, const ::rtl::OUString& expr, const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& namespaceNode ) = 0;
      32             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNodeList > SAL_CALL selectNodeList( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& contextNode, const ::rtl::OUString& expr ) = 0;
      33             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNodeList > SAL_CALL selectNodeListNS( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& contextNode, const ::rtl::OUString& str, const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& namespaceNode ) = 0;
      34             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL selectSingleNode( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& contextNode, const ::rtl::OUString& expr ) = 0;
      35             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL selectSingleNodeNS( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& contextNode, const ::rtl::OUString& str, const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& namespaceNode ) = 0;
      36             : 
      37             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      38             : 
      39             : protected:
      40        2371 :     ~XXPathAPI() throw () {} // avoid warnings about virtual members and non-virtual dtor
      41             : };
      42             : 
      43             : 
      44             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::xpath::XXPathAPI const *);
      45             : } } } } }
      46             : 
      47             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::xml::xpath::XXPathAPI > *) SAL_THROW(());
      48             : 
      49             : #endif

Generated by: LCOV version 1.10