diff options
Diffstat (limited to 'project2/xmlRawRows.h')
-rw-r--r-- | project2/xmlRawRows.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/project2/xmlRawRows.h b/project2/xmlRawRows.h new file mode 100644 index 0000000..7a4fd0b --- /dev/null +++ b/project2/xmlRawRows.h @@ -0,0 +1,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; +}; + |