+ {
+ if ( v->GetVM() != gdcm::GDCM_UNKNOWN )
+ if ( !CheckVM(v) )
+ {
+ if (v->GetVM() == "FIXME" )
+ std::cout << "For Tag " << v->GetKey() << " VM = ["
+ << v->GetVM() << "]" << std::endl;
+
+ std::cout << "Tag (" << v->GetKey()
+ << ")-> [" << v->GetName() << "] contains an illegal VM. "
+ << "value [" << v->GetString() << "] VR :"
+ << v->GetVR() << ", Expected VM : [" << v->GetVM() << "] "
+ << std::endl;
+ }
+
+ if ( v->GetReadLength() % 2 )