Files
BionxControl/nodes/services/ntxnodexml.h
Christoph Holzheuer 0b54793b08 added nodes.
2026-04-02 15:15:28 +02:00

27 lines
653 B
C++

#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