helics  3.5.2
Public Member Functions | List of all members
helics::apps::AppTextParser Class Reference

Public Member Functions

 AppTextParser (const std::string &filename)
 
std::vector< int > preParseFile (const std::vector< char > &klines)
 
const std::string & configString () const
 
bool loadNextLine (std::string &line, int &lineNumber)
 
void reset ()
 

Member Function Documentation

◆ loadNextLine()

bool helics::apps::AppTextParser::loadNextLine ( std::string &  line,
int &  lineNumber 
)

load the next meaningful line and its linenumber

◆ preParseFile()

std::vector< int > helics::apps::AppTextParser::preParseFile ( const std::vector< char > &  klines)

run a preparse on the counting lines and extracting command strings

Referenced by helics::apps::App::loadTextFile().


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