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

Function parse

IO/Chemistry/vtkVASPAnimationReader.cxx:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31template <typename T>
32bool parse(const std::string& str, T& result)
33{
34 if (!str.empty())
35 {
36 std::istringstream tmp(str);
37 tmp >> result;
38 return !tmp.fail();
39 }
40 return false;
41}
42
43} // end anon namespace
44

Callers 10

NextTimeStepMethod · 0.70
ReadMoleculeMethod · 0.70
LoadBuffersMethod · 0.50
LoadFileMetaDataMethod · 0.50
UpdateMetadataMethod · 0.50
RequestDataMethod · 0.50
OpenMethod · 0.50
CanReadFileMethod · 0.50
ReadTilesetFunction · 0.50

Calls 1

emptyMethod · 0.45

Tested by 1

ReadTilesetFunction · 0.40