1014 std::string datasum;
1015 std::string checksum;
1017 for (std::vector<Key>::const_iterator it=
fKeys.cbegin(); it!=
fKeys.cend(); it++)
1019 if (it->key ==
"CHECKSUM") checksum = it->value;
1020 if (it->key ==
"DATASUM") datasum = it->value;
1022 if (checksum[0] ==
'\'')
1023 checksum = checksum.substr(1,checksum.size()-2);
1024 if (datasum[0] ==
'\'')
1025 datasum = datasum.substr(1, datasum.size()-2);
1026 return std::make_pair(checksum, atoi(datasum.c_str()));