------------------------------------------------------------------------------
| 368 | |
| 369 | //------------------------------------------------------------------------------ |
| 370 | void EnSightFile::ResetFile() |
| 371 | { |
| 372 | std::streampos pos = 0; |
| 373 | if (this->Format == FileType::CBinary) |
| 374 | { |
| 375 | pos = this->HasBinaryHeader ? MAX_LINE_LENGTH : 0; |
| 376 | } |
| 377 | else if (this->Format == FileType::FBinary) |
| 378 | { |
| 379 | pos = this->HasBinaryHeader ? MAX_LINE_LENGTH + this->FortranSkipBytes * 2 : 0; |
| 380 | } |
| 381 | this->MoveToPosition(pos); |
| 382 | } |
| 383 | |
| 384 | //------------------------------------------------------------------------------ |
| 385 | bool EnSightFile::OpenFile(bool isCaseFile /* = false*/) |
no test coverage detected