blob: f0622ad72f5ecb5ab3ee87bec0ca6e09f383be42 (
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
31
32
33
34
35
|
#ifndef INPUTXSLT_SRC_SUPPORT_STYLESHEET_PARAMETER_GUARD_H_
#define INPUTXSLT_SRC_SUPPORT_STYLESHEET_PARAMETER_GUARD_H_
#include <xalanc/XalanTransformer/XalanTransformer.hpp>
#include <string>
#include <unordered_map>
#include "common.h"
namespace InputXSLT {
class StylesheetParameterGuard {
public:
typedef std::unordered_map<std::string, std::string> map;
explicit StylesheetParameterGuard(xalan::XalanTransformer&);
StylesheetParameterGuard(
xalan::XalanTransformer&,
const map&
);
~StylesheetParameterGuard();
void set(const map&);
void set(const std::string&, const std::string&);
private:
xalan::XalanTransformer& transformer_;
};
}
#endif // INPUTXSLT_SRC_SUPPORT_STYLESHEET_PARAMETER_GUARD_H_
|