Subversion Repositories HomeAutomation

Rev

Rev 1594 | Rev 1599 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1594 Rev 1596
Line 25... Line 25...
25
#include <vector>
25
#include <vector>
26
 
26
 
27
#include <boost/shared_ptr.hpp>
27
#include <boost/shared_ptr.hpp>
28
#include <boost/thread/mutex.hpp>
28
#include <boost/thread/mutex.hpp>
29
#include <boost/program_options.hpp>
29
#include <boost/program_options.hpp>
-
 
30
 
-
 
31
#include "type/common.h"
30
 
32
 
31
namespace atom {
33
namespace atom {
32
namespace config {
34
namespace config {
33
 
35
 
34
class Manager
36
class Manager
Line 44... Line 46...
44
    bool Set(int argument_count, char **argument_vector);
46
    bool Set(int argument_count, char **argument_vector);
45
   
47
   
46
    bool Exist(std::string name);
48
    bool Exist(std::string name);
47
   
49
   
48
    std::string GetAsString(std::string name);
50
    std::string GetAsString(std::string name);
49
    std::vector<std::string> GetAsStringVector(std::string name);
51
    type::StringList GetAsStringVector(std::string name);
50
    int GetAsInt(std::string name);
52
    int GetAsInt(std::string name);
51
   
53
   
52
private:
54
private:
53
    static Pointer instance_;
55
    static Pointer instance_;
54
   
56