diff options
Diffstat (limited to 'project2/common/rowView.h')
-rw-r--r-- | project2/common/rowView.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/project2/common/rowView.h b/project2/common/rowView.h deleted file mode 100644 index d2745db..0000000 --- a/project2/common/rowView.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef ROWVIEW_H -#define ROWVIEW_H - -#include <boost/intrusive_ptr.hpp> -#include "rowProcessor.h" -#include "view.h" -#include "aggregate.h" - -/// Project2 component to create output based on a records in a row set -class RowView : public View, public RowProcessor { - public: - RowView(ScriptNodePtr); - virtual ~RowView(); - - void loadComplete(const CommonObjects *); - void execute(const MultiRowSetPresenter *, ExecContext *) const; - void rowReady(const RowState *, const MultiRowSetPresenter *, ExecContext *, bool & found) const; - - const Variable rootName; - const Variable recordName; - const Variable required; - const Variable isObject; - - protected: - typedef std::map<Glib::ustring, Variable> Columns; - Columns viewColumns; - - void executeChildren(const MultiRowSetPresenter * presenter, ExecContext *) const; - typedef ANONORDEREDSTORAGEOF(View) SubViews; - SubViews subViews; - typedef ANONSTORAGEOF(ValueAggregate) ValueAggregates; - ValueAggregates valueAggregates; - typedef ANONSTORAGEOF(SetAggregate) SetAggregates; - SetAggregates setAggregates; -}; - -#endif - |