DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
CppUtils::Files::AsRows Class Reference

#include <rowStrategy.hpp>

Public Member Functions

auto operator() (const std::string &fileContents_) const
 

Private Attributes

std::vector< std::string > rowCache
 

Member Function Documentation

◆ 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.

Member Data Documentation

◆ rowCache

std::vector<std::string> CppUtils::Files::AsRows::rowCache
mutableprivate

Referenced by operator()().


The documentation for this class was generated from the following file: