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