8 #include "Arp/System/Commons/Xml/IXmlSerializable.hpp"     9 #include "Arp/System/Commons/Xml/XmlSerializationContext.hpp"    11 namespace Arp { 
namespace System { 
namespace Commons { 
namespace Xml
    15 class MultiXmlConfigDocument;
    41     Version                 GetRecentVersion(
void)
const;
    55     virtual void    ReadDocument(
XmlReader& reader);
    66     String                  documentXmlElementName;
    86     return this->pRootDoc;
    89 inline Version XmlConfigDocument::GetRecentVersion()
const    91     return this->recentVersion;
    94 inline void XmlConfigDocument::Save()
    96     if (this->path.IsEmpty())
   100     this->
Save(this->path);
 MultiXmlConfigDocument * GetRootDocument(void)
summary>Returns the recend implemented schema version, used by XmlSerializationContext
Definition: XmlConfigDocument.hpp:84
 
special version of XmlConfigDocument to include xml configuration data from other xml files inside a ...
Definition: MultiXmlConfigDocument.hpp:23
 
void Save(const String &documentPath)
summary>saves the content xml encoded to the file the document was loaded from
 
const String & GetPath(void) const
Returns the path to the current file loaded by this document
Definition: XmlConfigDocument.hpp:74
 
virtual ~XmlConfigDocument(void)=default
Destructs this instance and frees all resouces.
 
This class represents the version of a special SDK or Arp build. 
Definition: BasicVersion.hpp:34
 
Interface for all classes which should be serializable for xml
Definition: IXmlSerializable.hpp:17
 
Class handle xml configuration documents
Definition: XmlConfigDocument.hpp:19
 
bool TryLoad(const String &documentPath)
summary>saves the content xml encoded to documentPath
 
XmlConfigDocument(const String &documentXmlElementName, IXmlSerializable &content)
Constructs an XmlConfigDocument instance.
 
Root namespace for the PLCnext API
 
This exception is used for xml parsing errors.
Definition: XmlException.hpp:14
 
Class to read an XML File. Non buffered reader, can only read forward
Definition: XmlReader.hpp:22
 
IXmlSerializable & GetContent(void)
summary>Returns a pointer to the root document for MultiXmlConfigDocument
Definition: XmlConfigDocument.hpp:79
 
System components used by the System, Device, Plc or Io domains.
 
XML context used during XML reading and writing to hold the context information
Definition: XmlSerializationContext.hpp:24
 
void Load(const String &documentPath)
loads and parses the xml document from documentPath