MCPcopy Create free account
hub / github.com/Kitware/VTK / ParseExplicitRecord

Method ParseExplicitRecord

Utilities/DICOMParser/DICOMParser.cxx:576–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576bool DICOMParser::ParseExplicitRecord(doublebyte, doublebyte, quadbyte& length, VRTypes& represent)
577{
578 doublebyte representation = DataFile->ReadDoubleByte();
579
580 bool valid = this->IsValidRepresentation(representation, length, represent);
581
582 if (valid)
583 {
584 return true;
585 }
586 else
587 {
588 represent = VR_UNKNOWN;
589 length = 0;
590 return false;
591 }
592}
593
594bool DICOMParser::ParseImplicitRecord(
595 doublebyte group, doublebyte element, quadbyte& length, VRTypes& represent)

Callers

nothing calls this directly

Calls 2

IsValidRepresentationMethod · 0.95
ReadDoubleByteMethod · 0.80

Tested by

no test coverage detected