MCPcopy Create free account
hub / github.com/MITK/MITK / GetConfidenceLevel

Method GetConfidenceLevel

Modules/Core/src/IO/mitkAbstractFileReader.cpp:131–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 IFileReader::ConfidenceLevel AbstractFileReader::GetConfidenceLevel() const
132 {
133 if (d->m_Stream)
134 {
135 if (*d->m_Stream)
136 return Supported;
137 }
138 else
139 {
140 if (itksys::SystemTools::FileExists(Utf8Util::Local8BitToUtf8(this->GetInputLocation()).c_str(), true))
141 {
142 return Supported;
143 }
144 }
145 return Unsupported;
146 }
147
148 //////////// µS Registration & Properties //////////////
149

Callers

nothing calls this directly

Calls 1

GetInputLocationMethod · 0.95

Tested by

no test coverage detected