Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
settings.hh
Go to the documentation of this file.
1 
38 #ifndef __SETTINGS_HH_
39 #define __SETTINGS_HH_
40 
41 #include <string>
42 #include <memory>
43 
44 class Settings
45 {
46  private:
47  class SettingsImpl;
48  std::unique_ptr<SettingsImpl> impl;
49 
50  public:
51  Settings();
52  Settings(std::string);
53 
54  Settings(Settings&&);
55  void operator=(Settings&&);
56 
57  ~Settings();
58 
59  Settings& load () &;
60  Settings&& load () &&;
61 
62  template <typename T> T get (std::string) const;
63  std::string getip () const;
64 };
65 
66 #endif
void operator=(Settings &&)
Move operators.
Definition: settings.cc:206
~Settings()
Definition: settings.cc:202
std::string getip() const
Definition: settings.cc:218
Settings & load()&
Definition: settings.cc:210
Settings()
Definition: settings.cc:200
This is the implementation file of Settings.
Definition: settings.hh:44
Definition: settings.cc:66