Function Blam::Utils::IO::GetFileContentsAsLines¶
Defined in File io.h
Function Documentation¶
-
std::vector<std::string>
Blam::Utils::IO
::
GetFileContentsAsLines
(std::string path)¶ Reads a file as a list of strings.
Can be used to easily read a set of lines from a plain text file.
- Return
A list of strings, with each string representing a line in the file.
- Parameters
path
: - The path of the file to read from.