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

Method ToString

Code/IO/src/sitkImageFileWriter.cxx:57–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56
57std::string
58ImageFileWriter::ToString() const
59{
60 std::ostringstream out;
61 out << "itk::simple::ImageFileWriter";
62 out << std::endl;
63
64 out << " UseCompression: ";
65 this->ToStringHelper(out, this->m_UseCompression);
66 out << std::endl;
67
68 out << " CompressionLevel: ";
69 this->ToStringHelper(out, this->m_CompressionLevel);
70 out << std::endl;
71
72 out << " Compressor: ";
73 this->ToStringHelper(out, this->m_Compressor);
74 out << std::endl;
75
76 out << " KeepOriginalImageUID: ";
77 this->ToStringHelper(out, this->m_KeepOriginalImageUID);
78 out << std::endl;
79
80 out << " FileName: \"";
81 this->ToStringHelper(out, this->m_FileName);
82
83 out << " ImageIOName: ";
84 this->ToStringHelper(out, this->m_ImageIOName) << std::endl;
85
86 out << " Registered ImageIO:" << std::endl;
87 ioutils::PrintRegisteredImageIOs(out);
88 out << "\"" << std::endl;
89
90 out << ProcessObject::ToString();
91 return out.str();
92}
93
94std::vector<std::string>
95ImageFileWriter::GetRegisteredImageIOs() const

Callers

nothing calls this directly

Calls 2

PrintRegisteredImageIOsFunction · 0.85
ToStringFunction · 0.85

Tested by

no test coverage detected