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

Method ToString

Code/BasicFilters/src/sitkHashImageFilter.cxx:52–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50HashImageFilter::HashImageFilter() = default;
51
52std::string
53HashImageFilter::ToString() const
54{
55 std::ostringstream out;
56 out << "itk::simple::HashImageFilter" << std::endl;
57 out << "HashFunction: ";
58 switch (this->m_HashFunction)
59 {
60 case SHA1:
61 out << "SHA1";
62 break;
63 case MD5:
64 out << "MD5";
65 break;
66 }
67 out << std::endl;
68 out << ProcessObject::ToString();
69 return out.str();
70}
71
72HashImageFilter::HashFunction
73HashImageFilter::GetHashFunction() const

Callers

nothing calls this directly

Calls 1

ToStringFunction · 0.85

Tested by

no test coverage detected