PLCnext API Documentation  22.9.0.33
LibXmlErrorHandler.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 
7 #pragma once
8 #include "Arp/System/Core/Arp.h"
9 #include "Arp/System/Commons/Xml/XmlErrorHandler.hpp"
10 #include "libxml/xmlreader.h"
11 
12 namespace Arp { namespace System { namespace Commons { namespace Xml
13 {
16 {
17 public: // typedefs
18 
19 public: // construction/destruction
23  LibXmlErrorHandler(const LibXmlErrorHandler& arg) = delete;
27  ~LibXmlErrorHandler(void) = default;
28 
29 public: // operators
30 
31 public: // static operations
32  static void ErrorCallback(void *arg, const char *msg, xmlParserSeverities severity, xmlTextReaderLocatorPtr locator);
33 
34 public: // setter/getter operations
35 
36 public: // operations
37 
38 protected: // operations
39 
40 private: // static methods
41 
42 private: // methods
43 
44 private: // fields
45  size_t errorCounter;
46 
47 private: // static fields
48 };
49 
50 }}}} // end of namespace Arp::System::Commons::Xml
internal class to handle xml parsing errors in XmlReader
Definition: LibXmlErrorHandler.hpp:16
LibXmlErrorHandler & operator=(const LibXmlErrorHandler &arg)=delete
Assignment operator.
LibXmlErrorHandler()
Constructs an LibXmlErrorHandler instance.
LibXmlErrorHandler(const LibXmlErrorHandler &arg)=delete
Copy contructor.
~LibXmlErrorHandler(void)=default
Destructs this instance and frees all resouces.
internal base class to handle xml parsing errors in XmlReader
Definition: XmlErrorHandler.hpp:15
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API