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_xmldocument.cpp
Go to the documentation of this file.
1
// Copyright 2018 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
#
include
"core/fxcrt/xml/cfx_xmldocument.h"
6
7
#
include
"core/fxcrt/fx_system.h"
8
#
include
"core/fxcrt/xml/cfx_xmlelement.h"
9
#
include
"core/fxcrt/xml/cfx_xmlinstruction.h"
10
11
CFX_XMLDocument
::
CFX_XMLDocument
()
12
:
root_
(
CreateNode
<
CFX_XMLElement
>(L"root")) {}
13
14
CFX_XMLDocument
::~
CFX_XMLDocument
() =
default
;
15
16
void
CFX_XMLDocument
::
AppendNodesFrom
(
CFX_XMLDocument
* other) {
17
nodes_.reserve(nodes_.size() + other->nodes_.size());
18
nodes_.insert(nodes_.end(), std::make_move_iterator(other->nodes_.begin()),
19
std::make_move_iterator(other->nodes_.end()));
20
other->nodes_.clear();
21
}
CFX_XMLDocument
Definition
cfx_xmldocument.h:17
CFX_XMLDocument::CFX_XMLDocument
CFX_XMLDocument()
Definition
cfx_xmldocument.cpp:11
CFX_XMLDocument::AppendNodesFrom
void AppendNodesFrom(CFX_XMLDocument *other)
Definition
cfx_xmldocument.cpp:16
CFX_XMLDocument::~CFX_XMLDocument
~CFX_XMLDocument()
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fxcrt
xml
cfx_xmldocument.cpp
Generated on Wed Nov 13 2024 00:59:07 for Qt by
1.12.0