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

Method ParseFormatSection

IO/EnSight/core/EnSightDataSet.cxx:620–629  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

618
619//------------------------------------------------------------------------------
620bool EnSightDataSet::ParseFormatSection()
621{
622 auto result = this->CaseFile.ReadNextLine(MAX_CASE_LINE_LENGTH);
623 auto& line = result.second;
624 if (line.find("ensight gold") != std::string::npos)
625 {
626 return true;
627 }
628 return false;
629}
630
631//------------------------------------------------------------------------------
632void EnSightDataSet::ParseGeometrySection()

Callers 2

CheckVersionMethod · 0.95
ParseCaseFileMethod · 0.95

Calls 2

ReadNextLineMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected