PLCnext API Documentation  20.6.0.30321
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 
11 #include "libxml/xmlreader.h"
12 
13 namespace Arp { namespace System { namespace Commons { namespace Xml
14 {
17 {
18 public: // typedefs
19 
20 public: // construction/destruction
24  LibXmlErrorHandler(const LibXmlErrorHandler& arg) = delete;
26  LibXmlErrorHandler& operator=(const LibXmlErrorHandler& arg) = delete;
28  ~LibXmlErrorHandler(void) = default;
29 
30 public: // operators
31 
32 public: // static operations
33  static void ErrorCallback(void *arg, const char *msg, xmlParserSeverities severity, xmlTextReaderLocatorPtr locator);
34 
35 public: // setter/getter operations
36 
37 public: // operations
38 
39 protected: // operations
40 
41 private: // static methods
42 
43 private: // methods
44 
45 private: // fields
46  size_t errorCounter;
47 
48 private: // static fields
49 };
50 
51 }}}} // end of namespace Arp::System::Commons::Xml
LibXmlErrorHandler & operator=(const LibXmlErrorHandler &arg)=delete
Assignment operator.
internal class to handle xml parsing errors in XmlReader
Definition: LibXmlErrorHandler.hpp:16
LibXmlErrorHandler()
Constructs an LibXmlErrorHandler instance.
internal base class to handle xml parsing errors in XmlReader
Definition: XmlErrorHandler.hpp:14
Root namespace for the PLCnext API
System components used by the System, Device, Plc or Io domains.
~LibXmlErrorHandler(void)=default
Destructs this instance and frees all resouces.