Function parser::find_next

Function Documentation

istream &parser::find_next(istream &flux, const char *search)

Looks for the string search in the input stream and positions the stream right after the string if found.

If not, returns the stream at EOF. Does not start from the beginning of file, but from current position, contrary to the operators defined above.

Parameters:
  • flux – input stream to search in

  • search – keyword string to look for