DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
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>
26 {
33 
44  bool m_node_ahead_flag = false;
45 };
46 
47 }
48 
49 #endif
XML processing utilities.
Shared state for XML iterators to coordinate traversal.
bool m_node_ahead_flag
A shared flag indicating that the reader has been advanced one step ahead.
iterator_state(reader< safety_level > &reader)
Constructs the state with a reference to the XML reader.
reader< safety_level > & xml_reader
Reference to the underlying XML reader.