summaryrefslogtreecommitdiff
path: root/project2/xmlRawRows.h
blob: 7a4fd0bad4da95cb9ed5df731c3a2cea4cbbe8cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "rowSet.h"

class XmlRawRows : public RowSet {
	public:
		class XmlRowState : public RowState {
			public:
				const Columns& getColumns() const;
				void foreachAttr(const AttrAction & action) const;
				RowState::RowAttribute resolveAttr(const Glib::ustring & n) const;
				VariableType getAttr(const Glib::ustring & n) const;

				Columns cols;
				const xmlpp::Element * e;
		};

		XmlRawRows(const xmlpp::Element * p);
		XmlRawRows(const Glib::ustring & p);

		void loadComplete(const CommonObjects*);
		void execute(const Glib::ustring&, const RowProcessor * rp) const;

	private:
		const Variable path;
};