LCOV - code coverage report
Current view: top level - configmgr/source - rootnode.cxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 6 8 75.0 %
Date: 2014-11-03 Functions: 5 6 83.3 %
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             : 
      10             : #include <sal/config.h>
      11             : 
      12             : #include <rtl/ref.hxx>
      13             : 
      14             : #include "data.hxx"
      15             : #include "node.hxx"
      16             : #include "nodemap.hxx"
      17             : #include "rootnode.hxx"
      18             : 
      19             : namespace configmgr {
      20             : 
      21         381 : RootNode::RootNode(): Node(Data::NO_LAYER) {}
      22             : 
      23         762 : RootNode::~RootNode() {}
      24             : 
      25      487124 : Node::Kind RootNode::kind() const {
      26      487124 :     return KIND_ROOT;
      27             : }
      28             : 
      29           0 : rtl::Reference< Node > RootNode::clone(bool) const {
      30             :     assert(false); // this cannot happen
      31           0 :     return rtl::Reference< Node >();
      32             : }
      33             : 
      34      665033 : NodeMap & RootNode::getMembers() {
      35      665033 :     return members_;
      36             : }
      37             : 
      38             : }
      39             : 
      40             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10