PLCnext API Documentation
20.6.0.30321
Arp
System
Commons
Configuration
ConfigSettings.hpp
1
//
3
// Copyright PHOENIX CONTACT Electronics GmbH
4
//
6
#pragma once
7
#include "
Arp/System/Core/Arp.h
"
8
#include "Arp/System/Commons/Xml/IXmlSerializable.hpp"
9
10
namespace
Arp
{
namespace
System
{
namespace
Commons {
namespace
Configuration
11
{
12
13
using namespace
Arp::System::Commons::Xml
;
14
15
class
ConfigSettings
:
public
IXmlSerializable
16
{
17
public
:
// typedefs
18
19
public
:
// construction/destruction
21
ConfigSettings
(
void
) =
default
;
23
ConfigSettings
(
const
ConfigSettings
& arg) =
default
;
25
ConfigSettings
& operator=(
const
ConfigSettings
& arg) =
default
;
27
~
ConfigSettings
(
void
) =
default
;
28
29
public
:
// static fields
30
static
const
char
* XmlElementName;
31
32
public
:
// getter/setter
33
const
String
& GetPath(
void
)
const
;
34
35
public
:
// operations
36
37
public
:
// IXmlSerializable operations
38
void
ReadXml(
XmlReader
& reader,
XmlSerializationContext
& context)
override
;
39
void
WriteXml(
XmlWriter
& writer,
XmlSerializationContext
& context)
override
;
40
41
private
:
// methods
42
43
private
:
// fields
44
String
path;
45
};
46
48
// inline methods of class ConfigSettings
49
50
inline
const
String
& ConfigSettings::GetPath(
void
)
const
51
{
52
return
this->path;
53
}
54
55
}}}}
// end of namespace Arp::System::Commons::Configuration
Arp::System::Commons::Xml
Namespace for classes to read XML files
Arp::System::Commons::Xml::XmlWriter
Class to write an XML File
Definition:
XmlWriter.hpp:20
Arp::BasicString< char8 >
Arp::System::Commons::Configuration::ConfigSettings
Definition:
ConfigSettings.hpp:15
Arp.h
Arp::System::Commons::Xml::IXmlSerializable
Interface for all classes which should be serializable for xml
Definition:
IXmlSerializable.hpp:17
Arp
Root namespace for the PLCnext API
Arp::System::Commons::Xml::XmlReader
Class to read an XML File. Non buffered reader, can only read forward
Definition:
XmlReader.hpp:22
Arp::System::Acf::ComponentCategory::System
System components used by the System, Device, Plc or Io domains.
Arp::System::Commons::Xml::XmlSerializationContext
XML context used during XML reading and writing to hold the context information
Definition:
XmlSerializationContext.hpp:24
Generated on Wed Jul 1 2020 07:43:33 for PLCnext API Documentation by
1.8.13