MCPcopy Create free account
hub / github.com/Kitware/VTK / parseDimensions

Function parseDimensions

IO/ADIOS2/vtkADIOS2CoreImageReader.cxx:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56namespace
57{
58inline std::vector<int> parseDimensions(const std::string& dimsStr)
59{
60 std::vector<int> dims;
61 std::istringstream f(dimsStr);
62 std::string token;
63 while (std::getline(f, token, ','))
64 {
65 dims.push_back(vtk::scan_int<int>(token)->value());
66 }
67 return dims;
68}
69}
70VTK_ABI_NAMESPACE_BEGIN
71

Calls 2

push_backMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected