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> 12 typedef std::map<FQN, int> PositionMap;
14 typedef std::map<std::string, Eval::Value> ParamSet;
15 static void preprocess(
const std::shared_ptr<MBXMLUtils::DOMParser>& parser,
16 const std::shared_ptr<Eval> &eval,
17 std::vector<boost::filesystem::path> &dependencies,
18 xercesc::DOMElement *&e,
20 const std::shared_ptr<ParamSet>& param=std::shared_ptr<ParamSet>(),
23 const std::string &parentXPath=
"",
25 int embedXPathCount=1,
27 const std::shared_ptr<PositionMap>& position=std::make_shared<PositionMap>()
31 static std::shared_ptr<xercesc::DOMDocument> preprocessFile(
32 std::vector<boost::filesystem::path> &dependencies, std::set<boost::filesystem::path> schemas,
33 const boost::filesystem::path &mainXML);
Definition: preprocess.h:10