Toward file output.
This commit is contained in:
parent
7216fc5ab0
commit
6ff9370c4e
6 changed files with 75 additions and 17 deletions
|
@ -100,6 +100,11 @@ std::vector<std::string> File::readLines()
|
|||
return content;
|
||||
}
|
||||
|
||||
std::string File::getBaseFilename(const std::string& path)
|
||||
{
|
||||
return std::filesystem::path(path).stem();
|
||||
}
|
||||
|
||||
std::string File::ReadText()
|
||||
{
|
||||
std::string str((std::istreambuf_iterator<char>(*mInHandle)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue