/src/libreoffice/configmgr/source/rootnode.cxx
Line | Count | Source |
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 "rootnode.hxx" |
17 | | |
18 | | namespace configmgr { |
19 | | |
20 | 13 | RootNode::RootNode(): Node(Data::NO_LAYER) {} |
21 | | |
22 | 13 | RootNode::~RootNode() {} |
23 | | |
24 | 126k | Node::Kind RootNode::kind() const { |
25 | 126k | return KIND_ROOT; |
26 | 126k | } |
27 | | |
28 | 0 | rtl::Reference< Node > RootNode::clone(bool) const { |
29 | 0 | assert(false); // this cannot happen |
30 | 0 | return rtl::Reference< Node >(); |
31 | 0 | } |
32 | | |
33 | 109k | NodeMap & RootNode::getMembers() { |
34 | 109k | return members_; |
35 | 109k | } |
36 | | |
37 | | } |
38 | | |
39 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |