added nodes.

This commit is contained in:
Christoph Holzheuer
2026-04-02 15:15:28 +02:00
parent b05180f575
commit 0b54793b08
43 changed files with 4371 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#ifndef NTX_NODEXML_H
#define NTX_NODEXML_H
#include <ntxinode.h>
#include <string>
namespace ntx
{
class NtxNodeXml
{
public:
static NtxNodePtr loadFromFile(const std::string& filename);
static NtxNodePtr loadFromString(const std::string& xmlContent);
// Methoden zum Speichern
static bool saveToFile(const NtxNodePtr& node, const std::string& filename);
static bool saveToFile(const NtxNodeCPtr& node, const std::string& filename);
static std::string saveToString(const NtxNodePtr& node);
static std::string saveToString(const NtxNodeCPtr& node);
};
}
#endif // NTX_NODEXML_H