8 if (firstFileType ==
ASCII) {
10 }
else if (firstFileType ==
BINARY) {
12 }
else if (firstFileType ==
BASIC) {
21 assert(sha1sum.
empty());
27 assert(!sha1sum.
empty());
void setSha1Sum(const Sha1Sum &sha1sum)
std::string getFirstFileTypeAsString() const
const Sha1Sum & getSha1Sum() const
Get sha1sum for this image.
This class represents the result of a sha1 calculation (a 160-bit value).
This file implemented 3 utility functions: