#include <config.hpp>
Public Member Functions | |
| Config () | |
| Construct an empty Config object which should have Read() called on it. | |
| Config (std::string filename) | |
| Reads all configuration data from the file to memory. | |
| void | Read (std::string filename) |
| Reads all configuration data from the file to memory. | |
Static Public Attributes | |
| static const std::size_t | MaxLineLength = 4096 |
| Maximum length of a line in the configuration file. | |
Protected Attributes | |
| std::string | filename |
| Filename of the configuration file. | |
Does not support sections in files (they're usually ignored).
| Config::Config | ( | std::string | filename | ) |
Reads all configuration data from the file to memory.
| filename | File to read from. |
| void Config::Read | ( | std::string | filename | ) |
Reads all configuration data from the file to memory.
| filename | File to read from. |
std::string Config::filename [protected] |
Filename of the configuration file.
Stored in case save support is ever added.
const std::size_t Config::MaxLineLength = 4096 [static] |
Maximum length of a line in the configuration file.
1.5.7.1