13 #ifndef __CTA_SLC_XMLMANAGER_H__
14 #define __CTA_SLC_XMLMANAGER_H__
20 #include <libxml/parser.h>
21 #include <libxml/xpath.h>
23 namespace CTA_Slc_Dict {
29 typedef std::map<std::string, std::string>
map1;
59 std::vector<std::string> *tabName, std::vector<int> *tabNb,
60 std::vector<int> *tabPos, std::vector<int> *tabIndex);
77 xmlNodePtr
readFile(std::string filename,
int flagAbsolue_Relatif);
78 std::map<std::string, std::string>
searchElement(xmlNodePtr noeud,
82 void setDictionnaire(std::string dictFilename);
83 void parcours_dictionnaire(xmlNodePtr noeud,
84 std::list<std::string> &myliste);
85 int element_dictionnaire(xmlNodePtr n,
ParserXml2 *m_Noeud);
87 void trim2(std::string* str);
88 int searchElement(xmlNodePtr noeud, std::string *name,
int *array,
90 int find(xmlNodePtr noeud, std::string str, std::string str2,
91 std::string *resultat);
92 int verif(std::string str, std::string str2);
93 bool fileExists(
const char* FileName);
96 std::string m_pdictFilename;
97 std::string m_applicationPath;
98 std::string m_pdescFilename;
100 std::list<std::string> Path;