blob: c0654142e654c55e0fe0f97f4bc81e1807d241b7 (
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
|
#ifndef ROWVIEW_H
#define ROWVIEW_H
#include <libxml++/nodes/element.h>
#include <boost/intrusive_ptr.hpp>
#include "rowProcessor.h"
#include "view.h"
/// Project2 component to create output based on a records in a row set
class RowView : public View, public RowProcessor {
public:
RowView(const xmlpp::Element *);
virtual ~RowView();
void loadComplete(const CommonObjects *);
void execute(const Presenter *) const;
void rowReady(const RowState *) const;
const Glib::ustring rootName;
const Glib::ustring recordName;
protected:
typedef std::map<Glib::ustring, Variable> Columns;
Columns viewColumns;
void executeChildren() const;
typedef ANONSTORAGEOF(View) SubViews;
SubViews subViews;
mutable const Presenter * presenter;
};
#endif
|