#include <rowStrategy.hpp>
|
| auto | operator() (const std::string &fileContents_) const |
| |
◆ operator()()
| auto CppUtils::Files::AsRows::operator() |
( |
const std::string & | fileContents_ | ) |
const |
|
inline |
A file parser strategy used for splitting the data in a text file into rows.
- Parameters
-
| fileContents | - The content of a file read in to a std::string |
- Returns
- A
std::vector<std::string> where each element of the vector is a line from the file.
References rowCache.
◆ rowCache
| std::vector<std::string> CppUtils::Files::AsRows::rowCache |
|
mutableprivate |
The documentation for this class was generated from the following file:
- common-utilities/include/common-utils/files/fileParsing/parserStrategies/rowStrategy.hpp