LCOV - code coverage report
Current view: top level - xml/dom - XNode.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_XML_DOM_XNODE_HDL
       2             : #define INCLUDED_COM_SUN_STAR_XML_DOM_XNODE_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/uno/RuntimeException.hdl"
       7             : #include "com/sun/star/uno/XInterface.hdl"
       8             : #include "com/sun/star/xml/dom/DOMException.hdl"
       9             : #include "com/sun/star/xml/dom/NodeType.hdl"
      10             : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XDocument; } } } } }
      11             : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNamedNodeMap; } } } } }
      12             : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNode; } } } } }
      13             : namespace com { namespace sun { namespace star { namespace xml { namespace dom { class XNodeList; } } } } }
      14             : #include "com/sun/star/uno/Reference.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 dom {
      22             : 
      23      135754 : class SAL_NO_VTABLE XNode : public css::uno::XInterface
      24             : {
      25             : public:
      26             : 
      27             :     // Methods
      28             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL appendChild( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& newChild ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      29             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL cloneNode( ::sal_Bool deep ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      30             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNamedNodeMap > SAL_CALL getAttributes() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      31             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNodeList > SAL_CALL getChildNodes() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      32             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL getFirstChild() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL getLastChild() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual ::rtl::OUString SAL_CALL getLocalName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual ::rtl::OUString SAL_CALL getNamespaceURI() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL getNextSibling() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual ::rtl::OUString SAL_CALL getNodeName() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual css::xml::dom::NodeType SAL_CALL getNodeType() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual ::rtl::OUString SAL_CALL getNodeValue() /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XDocument > SAL_CALL getOwnerDocument() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL getParentNode() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual ::rtl::OUString SAL_CALL getPrefix() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL getPreviousSibling() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual ::sal_Bool SAL_CALL hasAttributes() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual ::sal_Bool SAL_CALL hasChildNodes() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL insertBefore( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& newChild, const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& refChild ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual ::sal_Bool SAL_CALL isSupported( const ::rtl::OUString& feature, const ::rtl::OUString& ver ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual void SAL_CALL normalize() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      49             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL removeChild( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& oldChild ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      50             :     virtual ::com::sun::star::uno::Reference< css::xml::dom::XNode > SAL_CALL replaceChild( const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& newChild, const ::com::sun::star::uno::Reference< css::xml::dom::XNode >& oldChild ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      51             :     virtual void SAL_CALL setNodeValue( const ::rtl::OUString& nodeValue ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      52             :     virtual void SAL_CALL setPrefix( const ::rtl::OUString& prefix ) /* throw (css::xml::dom::DOMException, ::com::sun::star::uno::RuntimeException) */ = 0;
      53             : 
      54             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      55             : 
      56             : protected:
      57      135558 :     ~XNode() throw () {} // avoid warnings about virtual members and non-virtual dtor
      58             : };
      59             : 
      60             : 
      61             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::xml::dom::XNode const *);
      62             : } } } } }
      63             : 
      64             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::xml::dom::XNode > *) SAL_THROW(());
      65             : 
      66             : #endif

Generated by: LCOV version 1.10