FACT++  1.0
off_t DataLogger::GetFileSize ( const string &  fileName)
private

retrieves the size of a file

retrieves the size on disk of a file

Parameters
fileNamethe full file name for which the size on disk should be retrieved
Returns
the size of the file on disk, in bytes. 0 if the file does not exist or if an error occured

Definition at line 881 of file datalogger.cc.

References DimWriteStatistics::GetFileSizeOnDisk().

882 {
883  return DimWriteStatistics::GetFileSizeOnDisk(fileName, *this);
884 }
int64_t GetFileSizeOnDisk(const std::string &file)
Returns the size on disk of a given file.

+ Here is the call graph for this function: