Rev 1599 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1599 | Rev 1642 | ||
|---|---|---|---|
| Line 26... | Line 26... | ||
| 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 | 30 | ||
| 31 | #include " |
31 | #include "common/common.h" |
| 32 | 32 | ||
| 33 | namespace atom { |
33 | namespace atom { |
| 34 | namespace config { |
34 | namespace config { |
| 35 | 35 | ||
| 36 | class Manager |
36 | class Manager |
| Line 47... | Line 47... | ||
| 47 | bool Set(int argument_count, char **argument_vector); |
47 | bool Set(int argument_count, char **argument_vector); |
| 48 | 48 | ||
| 49 | bool Exist(std::string name); |
49 | bool Exist(std::string name); |
| 50 | 50 | ||
| 51 | std::string GetAsString(std::string name); |
51 | std::string GetAsString(std::string name); |
| 52 |
|
52 | common::StringList GetAsStringVector(std::string name); |
| 53 | int GetAsInt(std::string name); |
53 | int GetAsInt(std::string name); |
| 54 | 54 | ||
| 55 | private: |
55 | private: |
| 56 | static Pointer instance_; |
56 | static Pointer instance_; |
| 57 | 57 | ||