| 120 | } |
| 121 | |
| 122 | mitk::IOVolumeSplitReason::ConstPointer |
| 123 | mitk::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 | } |
no test coverage detected