config_file.hpp
1 #ifndef NOOS_OBJECT_CONFIG_FILE
2 #define NOOS_OBJECT_CONFIG_FILE
3 #include "includes.ihh"
4 #include <noos/objects/globals.hpp>
5 
6 namespace noos {
8 namespace object {
16 {
17 public:
19  config_file(const std::string filepath);
20 
22  std::string get_data();
23 
24 private:
25  std::string data__ = "";
26 };
27 
28 }
29 }
30 #endif
std::string get_data()
get data of the file
config_file(const std::string filepath)
Construct from a file on disk.
Definition: asio_handler.hpp:14
class which convert a file into a std::string
Definition: config_file.hpp:15