Salome HOME
merge from branch DEV tag mergeto_trunk_04apr08
[modules/yacs.git] / src / yacsloader / dataParsers.hxx
1 #ifndef _DATAPARSERS_HXX_
2 #define _DATAPARSERS_HXX_
3
4 #include "parserBase.hxx"
5
6 namespace YACS
7 {
8 /*! \brief Class for string parser.
9  *
10  *  Class used to parse string
11  */
12 struct stringtypeParser:parser
13 {
14   static stringtypeParser stringParser;
15   std::string post();
16 };
17
18 /*! \brief Class for double parser.
19  *
20  *  Class used to parse double 
21  */
22 struct doubletypeParser:parser
23 {
24   static doubletypeParser doubleParser;
25   double post();
26 };
27
28 /*! \brief Class for integer parser.
29  *
30  *  Class used to parse integer
31  */
32 struct inttypeParser:parser
33 {
34   static inttypeParser intParser;
35   int post();
36 };
37
38 /*! \brief Class for boolean parser.
39  *
40  *  Class used to parse bool
41  */
42 struct booltypeParser:parser
43 {
44   static booltypeParser boolParser;
45   bool post();
46 };
47
48 }
49
50 #endif