Servers/Filters/vtkGenericEnSightReader2.cxx
int vtkGenericEnSightReader2::ReadLine(char result[256])
{
  this->IS->getline(result,256);
//  if (this->IS->eof())
  if (this->IS->fail())
      {
      // Reset the error flag before returning. This way, we can keep working
      // if we handle the error downstream.
      this->IS->clear();
      return 0;
      }

  return 1;
}
//----------------------------------------------------------------------------
// Internal function to read in a line up to 256 characters.
// Returns zero if there was an error.
Internal function to read in a line up to 256 characters.
Returns zero if there was an error.
Internal function to read in a line up to 256 characters . Returns zero if there was an error .
int vtkGenericEnSightReader2::ReadLine(char result[256])
{
  this->IS->getline(result,256);
  if (this->IS->fail())
      {
      this->IS->clear();
      return 0;
      }
  return 1;
}
int vtkGenericEnSightReader2 :: ReadLine ( char result [ 256 ] ) { this -> IS -> getline ( result , 256 ) ; if ( this -> IS -> fail ( ) ) { this -> IS -> clear ( ) ; return 0 ; } return 1 ; }
Internal function to read in a line up to 256 characters.
Internal function to read in a line up to 256 characters .
//  if (this->IS->eof()) // Reset the error flag before returning. This way, we can keep working // if we handle the error downstream.