PLCnext API Documentation 25.0.2.69
ConfigurationSettings.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Commons/Configuration/ConfigSettings.hpp"
9#include "Arp/System/Commons/Configuration/IncludeElements.hpp"
10
11namespace Arp { namespace System { namespace Commons { namespace Configuration
12{
13
15{
16public: // typedefs/usings
17
18public: // construction/destruction
20 ConfigurationSettings(void) = default;
21
22public: // setter/getter operations
23 const IncludeElements& GetIncludeElements(void)const;
24
25public: // IXmlSerializable operations
26 void ReadXml(XmlReader& reader, XmlSerializationContext& context)override;
27 void WriteXml(XmlWriter& writer, XmlSerializationContext& context)override;
28
29private: // fields
30 IncludeElements includeElements;
31};
32
33}}}} // end of namespace Arp::System::Commons::Configuration
Definition: ConfigurationSettings.hpp:15
ConfigurationSettings(void)=default
Constructs an ConfigurationSettings instance.
void ReadXml(XmlReader &reader, XmlSerializationContext &context) override
ReadXML must be implemented by all classes which should read its context from xml files
Definition: ConfigurationSettings.cpp:11
This class reads and holds items ofIncludeElement.
Definition: IncludeElements.hpp:21
Class to read an XML File. Non buffered reader, can only read forward
Definition: XmlReader.hpp:25
XML context used during XML reading and writing to hold the context information
Definition: XmlSerializationContext.hpp:27
Class to write an XML File
Definition: XmlWriter.hpp:19
Root namespace for the PLCnext API