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

Function getGridOptions

IO/EnSight/core/EnSightDataSet.cxx:373–385  ·  view source on GitHub ↗

parse a "block" line to determine relevant options

Source from the content-addressed store, hash-verified

371
372// parse a "block" line to determine relevant options
373GridOptions getGridOptions(std::string line)
374{
375 GridOptions opts;
376
377 std::regex optRegEx(R"((?:^|\s)([[:alpha:]_]+)(?=$|\s))");
378 std::string part;
379 while (extractLinePart(optRegEx, line, part))
380 {
381 evaluateOption(part, opts);
382 }
383
384 return opts;
385}
386
387template <typename T>
388void readCaseFileValues(EnSightFile& file, std::string& line, std::vector<T>& values)

Callers 2

ReadGeometryMethod · 0.85
GetPartInfoMethod · 0.85

Calls 2

extractLinePartFunction · 0.85
evaluateOptionFunction · 0.85

Tested by

no test coverage detected