PLCnext API Documentation 23.6.0.37
XmlBuffer.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6
7#pragma once
8
9
10#include "Arp/System/Core/Arp.h"
11
12
13namespace Arp { namespace System { namespace Commons { namespace Xml
14{
15
18{
19public:
20 XmlBuffer();
21 XmlBuffer(const XmlBuffer& other) = delete;
22 XmlBuffer(XmlBuffer&& other) = delete;
23 ~XmlBuffer();
24
25 XmlBuffer& operator=(const XmlBuffer& other) = delete;
26 XmlBuffer& operator=(XmlBuffer&& other) = delete;
27
28 String GetContents() const;
29
30 void* GetXmlBufferPtr();
31
32private:
33 void* bufferPtr = nullptr;
34};
35
36}}}} // namespace Arp::System::Commons::Xml
Implements a buffer which can be used to write xml data to memory
Definition: XmlBuffer.hpp:18
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API