libopenfpga/libopenfpgautil/src/openfpga_digest.cpp
/********************************************************************
 * A most utilized function to validate the file stream
 * This function will return true or false for a valid/invalid file stream 
 *******************************************************************/
A most utilized function to validate the file stream
This function will return true or false for a valid/invalid file stream
A most utilized function to validate the file stream This function will return true or false for a valid / invalid file stream
bool valid_file_stream(std::fstream& fp) {
  if (!fp.is_open() || !fp.good()) {
    return false;
  }
  return true;
}
bool valid_file_stream ( std :: fstream & fp ) { if ( ! fp . is_open ( ) || ! fp . good ( ) ) { return false ; } return true ; }
A most utilized function to validate the file stream
 This function will return true or false for a valid/invalid file stream
A most utilized function to validate the file stream This function will return true or false for a valid / invalid file stream
/* Validate the file stream */