PLCnext API Documentation  20.6.0.30321
Public Member Functions | List of all members
Arp::System::Commons::Xml::IXmlSerializable Class Referenceabstract

Interface for all classes which should be serializable for xml More...

#include <IXmlSerializable.hpp>

Inheritance diagram for Arp::System::Commons::Xml::IXmlSerializable:
Inheritance graph

Public Member Functions

 IXmlSerializable (void)=default
 Constructs an IXmlSerializable instance. More...
 
virtual ~IXmlSerializable (void)=default
 Copy constructor. More...
 
virtual void ReadXml (XmlReader &reader, XmlSerializationContext &context)=0
 ReadXML must be implemented by all classes which should read its context from xml files More...
 
virtual void WriteXml (XmlWriter &writer, XmlSerializationContext &context)=0
 

Detailed Description

Interface for all classes which should be serializable for xml

Constructor & Destructor Documentation

◆ IXmlSerializable()

Arp::System::Commons::Xml::IXmlSerializable::IXmlSerializable ( void  )
default

Constructs an IXmlSerializable instance.

◆ ~IXmlSerializable()

virtual Arp::System::Commons::Xml::IXmlSerializable::~IXmlSerializable ( void  )
virtualdefault

Copy constructor.

Assignment operator.

Destructs this instance and frees all resources.

Member Function Documentation

◆ ReadXml()

virtual void Arp::System::Commons::Xml::IXmlSerializable::ReadXml ( XmlReader reader,
XmlSerializationContext context 
)
pure virtual

ReadXML must be implemented by all classes which should read its context from xml files

param name="reader">The XmlReader which must be used to read the xml document

param name="context">XmlSerializationContext used by the document

summary>WriteXml must be implemented by all classes which should write its context to xml files

param name="writer">The XmlWriter which must be used to write the xml data

param name="context">XmlSerializationContext used by the document

Implemented in Arp::System::Commons::Configuration::ThreadConfig, Arp::System::Commons::Configuration::ThreadConfigs, Arp::System::Commons::Configuration::ConfigSettings, Arp::System::Commons::Xml::ConfigHeader, and Arp::System::Commons::Ipc::SharedDataSettings.


The documentation for this class was generated from the following file: