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