| 928 | } |
| 929 | |
| 930 | std::size_t vtkStatisticsAlgorithm::ConsumeInt(const std::string& source, int& value) |
| 931 | { |
| 932 | std::size_t consumed = 0; |
| 933 | auto result = vtk::scan_int<int>(source, 10); |
| 934 | if (result) |
| 935 | { |
| 936 | value = result->value(); |
| 937 | consumed = source.size() - result->range().size(); |
| 938 | } |
| 939 | return consumed; |
| 940 | } |
| 941 | |
| 942 | vtkStatisticsAlgorithm::AlgorithmConstructorMap& vtkStatisticsAlgorithm::GetConstructorMap() |
| 943 | { |
no test coverage detected