Function Utils::appendRead(long int&, const std::string&, long int, const std::string&)

Function Documentation

long int Utils::appendRead(long int &v, const std::string &in, long int pos, const std::string &header = "")

Utility to read a long int from a file.

Parameters
  • v – The output number

  • in – The input file

  • pos – The position of v in the file

  • header – An optional header check

Returns

The end position from which the next data object can be read.