PLCnext API Documentation 25.0.2.69
XmlErrorHandler.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6
7#pragma once
9
10namespace Arp { namespace System { namespace Commons { namespace Xml
11{
12
15{
16public: // typedefs
17
18public: // construction/destruction
21 XmlErrorHandler(const XmlErrorHandler& arg) = delete;
25 ~XmlErrorHandler(void) = default;
26
27public: // operators
28 bool ParserErrorCatched();
29 bool ValidityErrorCatched();
30 String GetLastError();
31
32public: // static operations
33
34public: // setter/getter operations
35
36public: // operations
37
38protected: // fields
39 size_t parserErrorCounter;
40 size_t validityErrorCounter;
41 String lastError;
42protected: // operations
43
44private: // static methods
45
46private: // methods
47
48private: // fields
49
50
51private: // static fields
52
53
54};
55
56}}}} // end of namespace Arp::System::Commons::Xml
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
internal base class to handle xml parsing errors in XmlReader
Definition: XmlErrorHandler.hpp:15
~XmlErrorHandler(void)=default
Destructs this instance and frees all resouces.
XmlErrorHandler()
Constructs an XmlErrorHandler instance.
Definition: XmlErrorHandler.cpp:13
XmlErrorHandler(const XmlErrorHandler &arg)=delete
Copy contructor.
XmlErrorHandler & operator=(const XmlErrorHandler &arg)=delete
Assignment operator.
Root namespace for the PLCnext API