This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef XML_h__
#define XML_h__
#include "pugixml.hpp"
class LifeXMLWriter : public pugi::xml_writer
{
public:
std::string result;
int length;
LifeXMLWriter()
:length(0)
{
}
virtual void write(const void* data, size_t size)
{
result += std::string(static_cast<const char*>(data), size);
length += size;
}
};
#endif // XML_h__