aboutsummaryrefslogtreecommitdiff
path: root/src/support/type/xobject_value.h
blob: cfc259d7d84877f055ed27544a651f2af7d07c50 (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
30
#ifndef INPUTXSLT_SRC_SUPPORT_TUPLE_XOBJECT_VALUE_H_
#define INPUTXSLT_SRC_SUPPORT_TUPLE_XOBJECT_VALUE_H_

#include <xalanc/XPath/XObject.hpp>

#include "common.h"
#include "support/filesystem_context.h"
#include "support/include_entity_resolver.h"

namespace InputXSLT {

class XObjectValue {
	public:
		XObjectValue(
			const boost::filesystem::path&,
			const IncludeEntityResolver*
		);

		template <typename Type>
		Type get(const xalan::XObjectPtr&) const;

	private:
		const FilesystemContext filesystem_context_;
		const IncludeEntityResolver* const include_resolver_;

};

}

#endif  // INPUTXSLT_SRC_SUPPORT_TUPLE_XOBJECT_VALUE_H_