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 250 : RootNode::RootNode(): Node(Data::NO_LAYER) {}
22 :
23 500 : RootNode::~RootNode() {}
24 :
25 470408 : Node::Kind RootNode::kind() const {
26 470408 : 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 27207361 : NodeMap & RootNode::getMembers() {
35 27207361 : return members_;
36 : }
37 :
38 : }
39 :
40 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|