-// copyH->InsertBinEntry( b->GetBinArea(),b->GetLength(),
-// b->GetGroup(),b->GetElement(),
-// b->GetVR() );
- (void)b;
- }
- else if ( gdcm::ValEntry *v = dynamic_cast<gdcm::ValEntry*>(d) )
- {
- if( !CheckVM(v))
- {
- std::cout << "Rah this DICOM contains one wrong tag:" <<
- v->GetValue() << " " <<
- v->GetGroup() << "," << v->GetElement() << "," <<
- v->GetVR() << " " << v->GetVM() << " " << v->GetName() << std::endl;
- }
+ std::cout << "Tag (" << v->GetKey()
+ << ")-> [" << v->GetName() << "] has an uneven length :"
+ << v->GetReadLength()
+ << " [" << v->GetString() << "] "
+ << std::endl;