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

Method GetPatientName

IO/Image/vtkDICOMImageReader.cxx:550–560  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

548
549//------------------------------------------------------------------------------
550const char* vtkDICOMImageReader::GetPatientName()
551{
552 std::string tmp = this->AppHelper->GetPatientName();
553
554 delete[] this->PatientName;
555 this->PatientName = new char[tmp.length() + 1];
556 strcpy(this->PatientName, tmp.c_str());
557 this->PatientName[tmp.length()] = '\0';
558
559 return this->PatientName;
560}
561
562//------------------------------------------------------------------------------
563const char* vtkDICOMImageReader::GetStudyUID()

Callers 4

DeepCopyMethod · 0.45
TestDICOMImageReaderFunction · 0.45

Calls 2

lengthMethod · 0.45
c_strMethod · 0.45

Tested by 3

TestDICOMImageReaderFunction · 0.36