void TagTree::digest32u(XMP_Uns32 expected, LFA_FileRef file,const std::string key /*=""*/, bool BigEndian /*=false*/, bool hexDisplay /*=false*/) { XMP_Uns32 tmp=digest32u( file,"",BigEndian, hexDisplay ); if (expected != tmp ) if (hexDisplay) throw DumpFileException("'%s' was 0x%.8X, expected: 0x%.8X",key.c_str(),tmp,expected); else throw DumpFileException("'%s' was %d, expected: %d",key.c_str(),tmp,expected); }
void TagTree::digest32u(XMP_Uns32* returnValue, LFA_FileRef file,const std::string key /*=""*/, bool BigEndian /*=false*/, bool hexDisplay /*=false*/) { *returnValue = digest32u( file, key,BigEndian, hexDisplay ); }