|
Monad Engine da02fba2
> Undercity Codex_
|
Thin wrapper around std::ifstream for reading a single file. More...
#include <filesystem>#include <fstream>#include <sstream>#include <string>#include <vector>#include "Log.h"#include "Types.h"
Include dependency graph for FileReader.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | mnd::FileReader |
| Read helper bound to a single file path. More... | |
Namespaces | |
| namespace | mnd |
Thin wrapper around std::ifstream for reading a single file.
Construct with an absolute or relative path, check Exists(), then call whichever read method fits the caller's needs. FileSystem::LoadFile() and FileSystem::LoadAssetFileText() are higher-level alternatives that handle asset-path resolution automatically.
Definition in file FileReader.h.