blob: a4e7899e38f31990579bf0e6e18d8817fe6edbae (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include "rowSet.h"
namespace xmlpp {
class Document;
}
class XmlRawRowsBase : public RowSet {
public:
XmlRawRowsBase(const xmlpp::Element * p);
XmlRawRowsBase();
void loadComplete(const CommonObjects*);
protected:
void execute(const xmlpp::Document *, const RowProcessor * rp) const;
};
class XmlRawRows : public XmlRawRowsBase {
public:
XmlRawRows(const xmlpp::Element * p);
XmlRawRows(const Glib::ustring & p);
void execute(const Glib::ustring&, const RowProcessor * rp) const;
private:
const Variable path;
};
class XmlMemRawRows : public XmlRawRowsBase {
public:
XmlMemRawRows(boost::shared_ptr<const xmlpp::Document> d);
void execute(const Glib::ustring&, const RowProcessor * rp) const;
private:
boost::shared_ptr<const xmlpp::Document> doc;
};
|