src/HSLib/GenOpRep.cc
/*              Input           OpRep: Operator representation (this)
                                fn   : Input binary filename
                                fp   : File stream (pointing at OpRep)
                Return          void : OpRep is read in from either the
                                       specified file or filestream.         */
Input           OpRep: Operator representation (this)
fn   : Input binary filename
fp   : File stream (pointing at OpRep)
Return          void : OpRep is read in from either the
specified file or filestream.
Input OpRep : Operator representation ( this ) fn : Input binary filename fp : File stream ( pointing at OpRep ) Return void : OpRep is read in from either the specified file or filestream .
void genoprep::read(const std::string& fn)
  {
  std::ifstream fp;					
  fp.open(fn.c_str(),std::ios::in|std::ios::binary);	
  read(fp);                     			
  fp.close();						
  }
void genoprep :: read ( const std :: string & fn ) { std :: ifstream fp ; fp . open ( fn . c_str ( ) , std :: ios :: in | std :: ios :: binary ) ; read ( fp ) ; fp . close ( ) ; }
Input           OpRep: Operator representation (this)
fn   : Input binary filename
fp   : File stream (pointing at OpRep)
Return          void : OpRep is read in from either the
specified file or filestream.
Input OpRep : Operator representation ( this ) fn : Input binary filename fp : File stream ( pointing at OpRep ) Return void : OpRep is read in from either the specified file or filestream .
// Construct a file stream // Open file for reading // Read OpRep, use overload // Close the file stream