diff options
author | randomdan <randomdan@localhost> | 2014-04-11 19:05:39 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-04-11 19:05:39 +0000 |
commit | 49c90ee14476bdd0c2c1c814239871482ac9ad6d (patch) | |
tree | c3003636bd946470856ffa77aa795c71c4329103 /project2/common/rowView.h | |
parent | Store and use the collated column name in lookups (diff) | |
download | project2-49c90ee14476bdd0c2c1c814239871482ac9ad6d.tar.bz2 project2-49c90ee14476bdd0c2c1c814239871482ac9ad6d.tar.xz project2-49c90ee14476bdd0c2c1c814239871482ac9ad6d.zip |
Move lots of components from common in basics
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 - |