LibreOffice Module configmgr (master)  1
rootnode.cxx
Go to the documentation of this file.
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 RootNode::RootNode(): Node(Data::NO_LAYER) {}
21 
23 
25  return KIND_ROOT;
26 }
27 
29  assert(false); // this cannot happen
30  return rtl::Reference< Node >();
31 }
32 
34  return members_;
35 }
36 
37 }
38 
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual rtl::Reference< Node > clone(bool keepTemplateName) const override
Definition: rootnode.cxx:28
virtual NodeMap & getMembers() override
Definition: rootnode.cxx:33
virtual ~RootNode() override
Definition: rootnode.cxx:22
virtual Kind kind() const override
Definition: rootnode.cxx:24