aboutsummaryrefslogtreecommitdiff
path: root/src/function/write_file.h
blob: df05f95af3d3fd69be2cde1ae99596f6f24f48a9 (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
25
26
27
28
29
#ifndef INPUTXSLT_SRC_FUNCTION_WRITE_FILE_H_
#define INPUTXSLT_SRC_FUNCTION_WRITE_FILE_H_

#include "base.h"

namespace InputXSLT {

class FunctionWriteFile : public FunctionBase<
	FunctionWriteFile,
	boost::filesystem::path,
	xalan::XalanNode*
> {
	public:
		using FunctionBase::FunctionBase;

	protected:
		friend FunctionBase;

		DomDocumentCache::document_ptr constructDocument(
			const FilesystemContext&,
			boost::filesystem::path,
			xalan::XalanNode* const
		) const;

};

}

#endif  // INPUTXSLT_SRC_FUNCTION_WRITE_FILE_H_