MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / ToString

Method ToString

Code/IO/src/sitkImageFileReader.cxx:97–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95ImageFileReader::ImageFileReader() = default;
96
97std::string
98ImageFileReader::ToString() const
99{
100
101 std::ostringstream out;
102 out << "itk::simple::ImageFileReader";
103 out << std::endl;
104 out << " FileName: \"";
105 this->ToStringHelper(out, this->m_FileName) << "\"" << std::endl;
106 out << " ExtractSize: " << this->m_ExtractSize << std::endl;
107 out << " ExtractIndex: " << this->m_ExtractIndex << std::endl;
108
109 out << " Image Information:" << std::endl << " PixelType: ";
110 this->ToStringHelper(out, this->m_PixelType) << std::endl;
111 out << " Dimension: " << this->m_Dimension << std::endl;
112 out << " NumberOfComponents: " << this->m_NumberOfComponents << std::endl;
113 out << " Direction: " << this->m_Direction << std::endl;
114 out << " Origin: " << this->m_Origin << std::endl;
115 out << " Spacing: " << this->m_Spacing << std::endl;
116 out << " Size: " << this->m_Size << std::endl;
117
118 out << ImageReaderBase::ToString();
119 return out.str();
120}
121
122void
123ImageFileReader::SetFileName(const PathType & fn)

Callers

nothing calls this directly

Calls 1

ToStringFunction · 0.85

Tested by

no test coverage detected