summaryrefslogtreecommitdiff
path: root/project2/xml/rawView.h
blob: 67d562864141716b2e778e7a97ce2965b304f7df (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(ScriptNodePtr p);
		void execute(const MultiRowSetPresenter *) const;

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

#endif