LibreOffice Module configmgr (master)
1
configmgr
source
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
22
RootNode::~RootNode
() {}
23
24
Node::Kind
RootNode::kind
()
const
{
25
return
KIND_ROOT
;
26
}
27
28
rtl::Reference< Node >
RootNode::clone
(
bool
)
const
{
29
assert(
false
);
// this cannot happen
30
return
rtl::Reference< Node >
();
31
}
32
33
NodeMap
&
RootNode::getMembers
() {
34
return
members_
;
35
}
36
37
}
38
39
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
configmgr::NodeMap
Definition:
nodemap.hxx:31
configmgr::Node
Definition:
node.hxx:32
configmgr::Node::Kind
Kind
Definition:
node.hxx:34
configmgr::Node::KIND_ROOT
@ KIND_ROOT
Definition:
node.hxx:36
configmgr::RootNode::getMembers
virtual NodeMap & getMembers() override
Definition:
rootnode.cxx:33
configmgr::RootNode::RootNode
RootNode()
Definition:
rootnode.cxx:20
configmgr::RootNode::~RootNode
virtual ~RootNode() override
Definition:
rootnode.cxx:22
configmgr::RootNode::clone
virtual rtl::Reference< Node > clone(bool keepTemplateName) const override
Definition:
rootnode.cxx:28
configmgr::RootNode::members_
NodeMap members_
Definition:
rootnode.hxx:35
configmgr::RootNode::kind
virtual Kind kind() const override
Definition:
rootnode.cxx:24
rtl::Reference
config.h
data.hxx
configmgr
Definition:
access.cxx:104
node.hxx
rootnode.hxx
configmgr::Data
Definition:
data.hxx:41
Generated on Sun Jul 30 2023 04:37:04 for LibreOffice Module configmgr (master) by
1.9.3