wangzhengquan
2021-02-02 cb85aa8a8d02a3d6dc16e3f32e78da9e70f9c7f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __PROPERTIES_CONFIG_H__
#define __PROPERTIES_CONFIG_H__
#include "usg_common.h"
 
class PropertiesConfig {
    std::string propertiesFile;
    std::map<std::string, std::string> propertiesMap;
public:
 
    PropertiesConfig(std::string _propertiesFile="./config.properties");
    std::string get(std::string name);
    int getInt(std::string name);
};
 
#endif