Remove debugging code.

main
Robin Mills 5 years ago
parent 45119e3260
commit a8b549f7df

@ -317,26 +317,6 @@ namespace Exiv2 {
void TiffDecoder::visitEntry(TiffEntry* object)
{
#if 0
std::cout << Exiv2::Internal::stringFormat (" %#6x.%-2d | %2d | %10d | %5d ",object->tag(),object->group(),object->tiffType(),object->offset(),object->count()) << std::endl;
if ( object->tiffType() == Exiv2::tiffIfd ) {
std::cout << "Eureka! Found an tiffIfd " << std::endl;
if ( object->tiffType() == Exiv2::tiffIfd ) {
// add a tiffIfd
// we have to visit this to create the chain of TiffDirectory ifd_;
for ( size_t ifd = 0 ; ifd < object->count() ; ifd++ ) {
#if 0
TiffComponent::AutoPtr tc = TiffCreator::create(object->tag(), object->group());
if (tc.get()) {
size_t nEntries = getShort(object->pData + 2 + ifd*12,endian_);
tc->setStart(object->pStart_) ; // p);
object->addChild(tc);
}
#endif
} // for ifd
}
}
#endif
decodeTiffEntry(object);
}
@ -355,20 +335,9 @@ namespace Exiv2 {
decodeTiffEntry(object);
}
void TiffDecoder::visitDirectory(TiffDirectory* object)
void TiffDecoder::visitDirectory(TiffDirectory* /* object */ )
{
// Nothing to do
if ( object ) {
std::cout << "";
#if 0
for (size_t i = 0 ; i < object->components_.size() ; ++i) {
object->components_[i]->accept(*this);
// object->components_[i]->doAccept(this);
// this->decodeTiffEntry(object->components_[i]);
// this->visitDirectory(object->components_[i]);
}
#endif
}
}
void TiffDecoder::visitSubIfd(TiffSubIfd* object)

Loading…
Cancel
Save