summaryrefslogtreecommitdiff
path: root/project2/rowProcessor.h
blob: 0f421f90f5bd85ffa25f92360d058fc770b48073 (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
#ifndef ROWPROCESSOR_H
#define ROWPROCESSOR_H

#include <glibmm/ustring.h>
#include "sourceObject.h"
#include "iHaveParameters.h"
#include "rowSet.h"

/// Base class for Project2 components that work with row sets
class RowProcessor : public IHaveParameters {
	public:
		RowProcessor(const xmlpp::Element *);
		virtual void rowReady() const = 0;
		void loadComplete(const CommonObjects *);

		const std::string recordSource;
		const Glib::ustring filter;

	protected:
		boost::intrusive_ptr<RowSet> source;
};

#endif