summaryrefslogtreecommitdiff
path: root/project2/xml/rawView.h
blob: 54f7b2e82bb6a67d8cb2cf9b59e567506f9c260a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef RAWVIEW_H
#define RAWVIEW_H

#include <libxml++/nodes/element.h>
#include <boost/intrusive_ptr.hpp>
#include <map>
#include "view.h"

/// Project2 component to create output based on its own XML tree node
class RawView : public View {
	public:
		RawView(const xmlpp::Element * p);
		void execute(const MultiRowSetPresenter *) const;

	private:
		void copyNode(const Presenter *, const xmlpp::Element *) const;
		const xmlpp::Element * copyRoot;
};

#endif