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

Function Documentation

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

An utility to read an unsigned int from a file.

Parameters
  • v – The output number

  • in – The input file

  • pos – The position of the data in the file

  • header – An optional header

Returns

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