DocWire SDK
DocWire SDK: Deterministic, auditable, and secure data processing in C++20. On-premise by default. No compromises on computational speed.
Toggle main menu visibility
Loading...
Searching...
No Matches
xml_iterator_state.h
1
/*********************************************************************************************************************************************/
2
/* DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. */
3
/* Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, */
4
/* document analysis. Offline processing possible for security and confidentiality */
5
/* */
6
/* Copyright (c) SILVERCODERS Ltd, http://silvercoders.com */
7
/* Project homepage: https://github.com/docwire/docwire */
8
/* */
9
/* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-DocWire-Commercial */
10
/*********************************************************************************************************************************************/
11
12
#ifndef DOCWIRE_XML_ITERATOR_STATE_H
13
#define DOCWIRE_XML_ITERATOR_STATE_H
14
15
#include "xml_reader.h"
16
17
namespace
docwire::xml
18
{
19
24
template
<safety_policy safety_level>
25
struct
iterator_state
26
{
30
explicit
iterator_state
(
reader<safety_level>
&
reader
) :
xml_reader
(
reader
) {}
32
reader<safety_level>
&
xml_reader
;
33
44
bool
m_node_ahead_flag
=
false
;
45
};
46
47
}
48
49
#endif
docwire::xml::reader
A forward-only, non-cached XML reader.
Definition
xml_reader.h:64
docwire::xml
XML processing utilities.
Definition
xml_attribute_ref.h:23
docwire::xml::iterator_state::m_node_ahead_flag
bool m_node_ahead_flag
A shared flag indicating that the reader has been advanced one step ahead.
Definition
xml_iterator_state.h:44
docwire::xml::iterator_state::iterator_state
iterator_state(reader< safety_level > &reader)
Constructs the state with a reference to the XML reader.
Definition
xml_iterator_state.h:30
docwire::xml::iterator_state::xml_reader
reader< safety_level > & xml_reader
Reference to the underlying XML reader.
Definition
xml_iterator_state.h:32
xml_iterator_state.h
Generated by
1.18.0