Toggle navigation
Noos C++ API 0.8.3
Profile
API
Docs
Tutorials
Main Page
Namespaces
Classes
Files
File List
noos
objects
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 {
15
class
config_file
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
noos::object::config_file::get_data
std::string get_data()
get data of the file
noos::object::config_file::config_file
config_file(const std::string filepath)
Construct from a file on disk.
noos
Definition:
asio_handler.hpp:14
noos::object::config_file
class which convert a file into a std::string
Definition:
config_file.hpp:15