31 lines
628 B
C++
31 lines
628 B
C++
#ifndef XPATHNODETREEINFO_H
|
|
#define XPATHNODETREEINFO_H
|
|
|
|
#include "xasset.h"
|
|
#include "xpathnodetreenodes.h"
|
|
|
|
#include <QVector>
|
|
|
|
class XPathNodeTree;
|
|
|
|
class XPathNodeTreeInfo : public XAsset
|
|
{
|
|
public:
|
|
explicit XPathNodeTreeInfo();
|
|
~XPathNodeTreeInfo();
|
|
|
|
void ParseData(QDataStream *aStream) override;
|
|
|
|
XPathNodeTree* GetChild(int index) const;
|
|
void SetChild(int index, XPathNodeTree* child);
|
|
|
|
const XPathNodeTreeNodes& GetNodes() const;
|
|
void SetNodes(const XPathNodeTreeNodes& nodes);
|
|
|
|
private:
|
|
QVector<XPathNodeTree*> mChildren;
|
|
XPathNodeTreeNodes mNodes;
|
|
};
|
|
|
|
#endif // XPATHNODETREEINFO_H
|