Salome HOME
Fix problems of 'make distcheck'
[modules/homard.git] / src / HOMARDGUI / HomardConfigFile.hxx
1 //
2 //  File   : HomardConfigFile.hxx
3 //  Author : Paul RASCLE, EDF
4 //  Module : SMESH
5
6
7 #ifndef _HOMARD_CONFIG_FILE
8 #define _HOMARD_CONFIG_FILE
9
10 #include <string>
11 #include <map>
12 #include <list>
13
14 using namespace std;
15
16 class HomardConfigFile
17 {
18         typedef string motcle;
19         typedef string valeur;
20
21 public  :
22         HomardConfigFile();
23         ~HomardConfigFile();
24          bool initVal(const string motclef ,const string valeur);
25          bool createFile();
26          void setBilan(bool etat);
27          string getMyDir();
28
29 protected :
30
31         std::list<motcle> _motscle_ss_valeur;
32         std::list<motcle> _motscle_oui_non ;
33         std::list<motcle> _motscle_autre;
34
35         std::map <motcle,valeur> _dictValeur;
36         std::map <motcle,int>    _dictValeuroui;
37
38         string _nomFichier;
39         string _prefix;
40         bool   _bBilan;
41         string _myDir;
42
43         bool cherche_dans_liste(std::list<motcle> & liste , const motcle motclef);
44 } ;
45 #endif