1 #ifndef _MBXMLUTILS_PREPROCESS_H_
2 #define _MBXMLUTILS_PREPROCESS_H_
4 #include <fmatvec/atom.h>
5 #include <boost/locale.hpp>
6 #include <boost/bind.hpp>
7 #include <mbxmlutilshelper/dom.h>
8 #include <mbxmlutils/eval.h>
10 namespace MBXMLUtils {
15 typedef std::map<FQN, int> PositionMap;
17 typedef std::vector<std::pair<std::string, boost::shared_ptr<void> > > ParamSet;
18 typedef std::unordered_map<std::string, ParamSet> XPathParamSet;
19 static void preprocess(boost::shared_ptr<MBXMLUtils::DOMParser> parser,
20 const boost::shared_ptr<Eval> &eval,
21 std::vector<boost::filesystem::path> &dependencies,
22 xercesc::DOMElement *&e,
25 boost::shared_ptr<XPathParamSet> param=boost::shared_ptr<XPathParamSet>(),
28 const std::string &parentXPath=
"",
30 boost::shared_ptr<PositionMap> position=boost::make_shared<PositionMap>()
Definition: preprocess.h:13