XPlor/libs/xassets/xpathnodetreeinfo.h

31 lines
628 B
C
Raw Permalink Normal View History

2025-08-17 13:14:17 -04:00
#ifndef XPATHNODETREEINFO_H
#define XPATHNODETREEINFO_H
#include "xasset.h"
2025-09-05 18:35:17 -04:00
#include "xpathnodetreenodes.h"
#include <QVector>
class XPathNodeTree;
2025-08-17 13:14:17 -04:00
class XPathNodeTreeInfo : public XAsset
{
public:
explicit XPathNodeTreeInfo();
2025-09-05 18:35:17 -04:00
~XPathNodeTreeInfo();
2025-08-17 13:14:17 -04:00
2025-09-10 21:58:26 -04:00
void ParseData(XDataStream *aStream) override;
2025-08-17 13:14:17 -04:00
2025-09-05 18:35:17 -04:00
XPathNodeTree* GetChild(int index) const;
void SetChild(int index, XPathNodeTree* child);
2025-08-17 13:14:17 -04:00
const XPathNodeTreeNodes& GetNodes() const;
void SetNodes(const XPathNodeTreeNodes& nodes);
private:
2025-09-05 18:35:17 -04:00
QVector<XPathNodeTree*> mChildren;
XPathNodeTreeNodes mNodes;
2025-08-17 13:14:17 -04:00
};
#endif // XPATHNODETREEINFO_H