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

Method write

Modules/Classification/CLUtilities/src/mitkCLResultXMLWriter.cpp:303–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void mitk::cl::CLResultXMLWriter::write(const std::string& filePath) const
304{
305 std::ofstream resultFile;
306 resultFile.open(filePath.c_str());
307 if (resultFile.is_open())
308 {
309 this->write(resultFile);
310 resultFile.close();
311 }
312 else
313 {
314 MITK_ERROR << "Cannot write xml results. Unable to open file: \""<<filePath<<"\"";
315 }
316}
317
318void mitk::cl::CLResultXMLWriter::write(std::ostream& stream) const
319{

Callers 11

receiveConnectionMethod · 0.45
slotImageUrlMethod · 0.45
GetImageDataDirectMethod · 0.45
ResolveDataPathMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
ExecuteMethod · 0.45
launchWithExternalAppMethod · 0.45
foreachFunction · 0.45

Calls 3

WriteDocumentFunction · 0.85
closeMethod · 0.80
openMethod · 0.45

Tested by 1

GetImageDataDirectMethod · 0.36