added nodes.
This commit is contained in:
27
nodes/services/ntxnodexml.h
Normal file
27
nodes/services/ntxnodexml.h
Normal 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
|
||||
Reference in New Issue
Block a user