openModeller
Version 1.5.0
Main Page
Modules
Classes
Files
File List
File Members
Settings.hh
Go to the documentation of this file.
1
27
#ifndef _SETTINGS_HH_
28
#define _SETTINGS_HH_
29
30
#include <string>
31
#include <vector>
32
33
#include <
openmodeller/os_specific.hh
>
34
#include <
openmodeller/FileParser.hh
>
35
36
/*******************************************************/
37
/*********************** Settings **********************/
38
42
class
dllexp
Settings
{
43
44
public
:
45
46
~
Settings
();
47
51
static
void
loadConfig(
const
std::string configFile );
52
57
static
std::string
get
(
const
std::string & key );
58
63
static
int
count(
const
std::string & key );
64
69
static
std::vector<std::string> getAll(
const
std::string & key );
70
71
private
:
72
73
Settings
();
74
75
static
Settings
& _getInstance();
76
77
static
void
_loadConfig(
Settings
* settings,
const
std::string configFile );
78
79
FileParser
*
_fp
;
80
};
81
82
#endif
Settings::_fp
FileParser * _fp
Definition:
Settings.hh:79
FileParser.hh
FileParser
Definition:
FileParser.hh:42
Settings
Definition:
Settings.hh:42
os_specific.hh
src
openmodeller
Settings.hh
Generated on Thu Jan 8 2015 17:05:10 for openModeller by
1.8.6