first re-commit.
This commit is contained in:
42
model/xqnodewriter.h
Normal file
42
model/xqnodewriter.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/***************************************************************************
|
||||
|
||||
source::worx xtree
|
||||
Copyright © 2024-2025 c.holzheuer
|
||||
christoph.holzheuer@gmail.com
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef XQNODEWRITER_H
|
||||
#define XQNODEWRITER_H
|
||||
|
||||
#include <Qt>
|
||||
|
||||
#include "qxmlstream.h"
|
||||
#include <xqnode.h>
|
||||
|
||||
|
||||
class QString;
|
||||
|
||||
class XQNodeWriter
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
XQNodeWriter() = default;
|
||||
virtual ~XQNodeWriter() = default;
|
||||
|
||||
void dumpTree( XQNodePtr rootNode, const QString& fileName ) const;
|
||||
|
||||
protected:
|
||||
|
||||
void dumpNode( QXmlStreamWriter& writer, XQNodePtr node ) const;
|
||||
|
||||
};
|
||||
|
||||
#endif // XQNODEWRITER_H
|
Reference in New Issue
Block a user