| 888 | } |
| 889 | |
| 890 | void LayerStack::setCurrentLayer(Size index) |
| 891 | { |
| 892 | if (index >= layers_.size()) |
| 893 | { |
| 894 | throw Exception::IndexOverflow(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, index, layers_.size()); |
| 895 | } |
| 896 | current_layer_ = index; |
| 897 | } |
| 898 | |
| 899 | Size LayerStack::getCurrentLayerIndex() const |
| 900 | { |
no test coverage detected