PLCnext API Documentation 25.0.2.69
XmlBuffer.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
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
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Implements a buffer which can be used to write xml data to memory
Definition: XmlBuffer.hpp:18
Root namespace for the PLCnext API