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

Method GetSplitReason

Modules/DICOM/src/mitkDICOMDatasetSorter.cpp:122–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122mitk::IOVolumeSplitReason::ConstPointer
123mitk::DICOMDatasetSorter
124::GetSplitReason(unsigned int index) const
125{
126 if (index >= m_Outputs.size())
127 {
128 std::stringstream ss;
129 ss << "Cannot get split reason. Index " << index << " out of range (" << m_Outputs.size() << " indices reserved)";
130 throw std::invalid_argument(ss.str());
131 }
132
133 return m_SplitReasons[index];
134}

Callers 3

mainFunction · 0.45
Condense3DBlocksMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected