aboutsummaryrefslogtreecommitdiff
path: root/src/support/xerces_string_guard.h
blob: f64a53ecef268a6fdea86a4d02e01b864af1ca12 (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
#ifndef INPUTXSLT_SRC_SUPPORT_XERCES_STRING_GUARD_H_
#define INPUTXSLT_SRC_SUPPORT_XERCES_STRING_GUARD_H_

#include <xercesc/util/XMLString.hpp>

#include <string>

namespace InputXSLT {

class XercesStringGuard {
	public:
		XercesStringGuard(const std::string&);
		~XercesStringGuard();

		XMLCh* operator*();

	private:
		XMLCh* const string_;

};

}

#endif  // INPUTXSLT_SRC_SUPPORT_XERCES_STRING_GUARD_H_