PLCnext API Documentation 23.6.0.37
LibXmlErrorHandler.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6
7#pragma once
9#include "Arp/System/Commons/Xml/XmlErrorHandler.hpp"
10#include "libxml/xmlreader.h"
11
12namespace Arp { namespace System { namespace Commons { namespace Xml
13{
16{
17public: // typedefs
18
19public: // construction/destruction
27 ~LibXmlErrorHandler(void) = default;
28
29public: // operators
30
31public: // static operations
32 static void ErrorCallback(void *arg, const char *msg, xmlParserSeverities severity, xmlTextReaderLocatorPtr locator);
33
34public: // setter/getter operations
35
36public: // operations
37
38protected: // operations
39
40private: // static methods
41
42private: // methods
43
44private: // fields
45 size_t errorCounter;
46
47private: // 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