Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_xmlnode.cpp
Go to the documentation of this file.
1
// Copyright 2017 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
include
"core/fxcrt/xml/cfx_xmlnode.h"
8
9
CFX_XMLNode
::
CFX_XMLNode
() =
default
;
10
11
CFX_XMLNode
::~
CFX_XMLNode
() =
default
;
12
13
void
CFX_XMLNode
::
InsertChildNode
(
CFX_XMLNode
* pNode, int32_t index) {
14
InsertBefore(pNode, GetNthChild(index));
15
}
16
17
CFX_XMLNode
*
CFX_XMLNode
::
GetRoot
() {
18
CFX_XMLNode
* pParent =
this
;
19
while
(pParent->GetParent())
20
pParent = pParent->GetParent();
21
22
return
pParent;
23
}
CFX_XMLNode
Definition
cfx_xmlnode.h:16
CFX_XMLNode::InsertChildNode
void InsertChildNode(CFX_XMLNode *pNode, int32_t index)
Definition
cfx_xmlnode.cpp:13
CFX_XMLNode::CFX_XMLNode
CFX_XMLNode()
CFX_XMLNode::~CFX_XMLNode
~CFX_XMLNode() override
CFX_XMLNode::GetRoot
CFX_XMLNode * GetRoot()
Definition
cfx_xmlnode.cpp:17
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxcrt
xml
cfx_xmlnode.cpp
Generated on Sat Sep 21 2024 00:55:53 for Qt by
1.12.0