PhoenixInkscape  2.0.0
Generate multiple png files with svg inkscape files
ConfigParser.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __CONFIGPARSER_H__
8 #define __CONFIGPARSER_H__
9 
10 #include "PMultiFileParser.h"
11 
14  public:
15  ConfigParser();
16  virtual ~ConfigParser();
17 
18  const std::string & getDocString() const;
19 
20  protected:
21  virtual bool parseFile();
22  virtual void preLoadFile();
23  virtual void postLoadFile();
24 
25  private:
27 
28  bool parseDocString();
29 
31  std::string p_lastDocString;
32 };
33 
34 
35 
36 #endif
37 
Parse the configuration a create the vector of sources.
Definition: ConfigParser.h:13
virtual void preLoadFile()
Initialisation to be done just before loading a file.
virtual ~ConfigParser()
Destructor of ConfigParser.
bool parseDocString()
Parse a doc string.
void initialisationConfigParser()
Initialisation function of the class ConfigParser.
virtual void postLoadFile()
Initialisation to be done just after loading a file.
virtual bool parseFile()
Parse the input file.
ConfigParser()
Default constructor of ConfigParser.
const std::string & getDocString() const
Get the last doc string.
std::string p_lastDocString
Last documentation string.
Definition: ConfigParser.h:31
Class used to parse file with possibility of inclusion.