LCOV - code coverage report
Current view: top level - unoxml/source/dom - notationsmap.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 19 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 9 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #include <notationsmap.hxx>
      21             : 
      22             : #include <osl/diagnose.h>
      23             : 
      24             : #include <documenttype.hxx>
      25             : 
      26             : using namespace css::uno;
      27             : using namespace css::xml::dom;
      28             : 
      29             : namespace DOM
      30             : {
      31           0 :     CNotationsMap::CNotationsMap(
      32             :             ::rtl::Reference<CDocumentType> const& pDocType)
      33           0 :         : m_pDocType(pDocType)
      34             :     {
      35           0 :     }
      36             : 
      37             :     /**
      38             :     The number of nodes in this map.
      39             :     */
      40           0 :     sal_Int32 SAL_CALL CNotationsMap::getLength() throw (RuntimeException, std::exception)
      41             :     {
      42             :         OSL_ENSURE(false,
      43             :             "CNotationsMap::getLength: not implemented (#i113683#)");
      44           0 :         return 0;
      45             :     }
      46             : 
      47             :     /**
      48             :     Retrieves a node specified by local name
      49             :     */
      50             :     Reference< XNode > SAL_CALL
      51           0 :     CNotationsMap::getNamedItem(OUString const& /*name*/)
      52             :     throw (RuntimeException, std::exception)
      53             :     {
      54             :         OSL_ENSURE(false,
      55             :             "CNotationsMap::getNamedItem: not implemented (#i113683#)");
      56           0 :         return Reference< XNode >();
      57             :     }
      58             : 
      59             :     /**
      60             :     Retrieves a node specified by local name and namespace URI.
      61             :     */
      62             :     Reference< XNode > SAL_CALL
      63           0 :     CNotationsMap::getNamedItemNS(
      64             :         OUString const& /*namespaceURI*/, OUString const& /*localName*/)
      65             :     throw (RuntimeException, std::exception)
      66             :     {
      67             :         OSL_ENSURE(false,
      68             :             "CNotationsMap::getNamedItemNS: not implemented (#i113683#)");
      69           0 :         return Reference< XNode >();
      70             :     }
      71             : 
      72             :     /**
      73             :     Returns the indexth item in the map.
      74             :     */
      75             :     Reference< XNode > SAL_CALL
      76           0 :     CNotationsMap::item(sal_Int32 /*index*/) throw (RuntimeException, std::exception)
      77             :     {
      78             :         OSL_ENSURE(false, "CNotationsMap::item: not implemented (#i113683#)");
      79           0 :         return Reference< XNode >();
      80             :     }
      81             : 
      82             :     /**
      83             :     Removes a node specified by name.
      84             :     */
      85             :     Reference< XNode > SAL_CALL
      86           0 :     CNotationsMap::removeNamedItem(OUString const& /*name*/)
      87             :     throw (RuntimeException, std::exception)
      88             :     {
      89             :         OSL_ENSURE(false,
      90             :             "CNotationsMap::removeNamedItem: not implemented (#i113683#)");
      91           0 :         return Reference< XNode >();
      92             :     }
      93             : 
      94             :     /**
      95             :     // Removes a node specified by local name and namespace URI.
      96             :     */
      97             :     Reference< XNode > SAL_CALL
      98           0 :     CNotationsMap::removeNamedItemNS(
      99             :         OUString const& /*namespaceURI*/, OUString const& /*localName*/)
     100             :     throw (RuntimeException, std::exception)
     101             :     {
     102             :         OSL_ENSURE(false,
     103             :             "CNotationsMap::removeNamedItemNS: not implemented (#i113683#)");
     104           0 :         return Reference< XNode >();
     105             :     }
     106             : 
     107             :     /**
     108             :     // Adds a node using its nodeName attribute.
     109             :     */
     110             :     Reference< XNode > SAL_CALL
     111           0 :     CNotationsMap::setNamedItem(Reference< XNode > const& /*arg*/)
     112             :     throw (RuntimeException, std::exception)
     113             :     {
     114             :         OSL_ENSURE(false,
     115             :             "CNotationsMap::setNamedItem: not implemented (#i113683#)");
     116           0 :         return Reference< XNode >();
     117             :     }
     118             : 
     119             :     /**
     120             :     Adds a node using its namespaceURI and localName.
     121             :     */
     122             :     Reference< XNode > SAL_CALL
     123           0 :     CNotationsMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
     124             :     throw (RuntimeException, std::exception)
     125             :     {
     126             :         OSL_ENSURE(false,
     127             :             "CNotationsMap::setNamedItemNS: not implemented (#i113683#)");
     128           0 :         return Reference< XNode >();
     129             :     }
     130             : }
     131             : 
     132             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11