src/GamIO/XWin1D.cc
/* These functions take care of any errors encountered when reading, writing,
   and setting parameters in Bruker acquisition data sets.
 
        Input           eidx    : Error index
                        pname   : Additional error message
                        noret   : Flag for linefeed (0=linefeed)
        Output          void    : An error message is output                 */
These functions take care of any errors encountered when reading, writing,
and setting parameters in Bruker acquisition data sets.

Input           eidx    : Error index
pname   : Additional error message
noret   : Flag for linefeed (0=linefeed)
Output          void    : An error message is output
These functions take care of any errors encountered when reading writing and setting parameters in Bruker acquisition data sets . Input eidx : Error index pname : Additional error message noret : Flag for linefeed ( 0 = linefeed ) Output void : An error message is output
void XWin1D::XWin1Derror(int eidx, int noret) const                       
  {
  string hdr("XWinNMR 1D Data Set");
  string msg;
  switch (eidx)
    {
    case 21: GAMMAerror(hdr,"Cannot Read Full Data Set",     noret); break; 
    case 22: GAMMAerror(hdr,"Cannot Generate Full Data Set", noret); break; 
    default: GAMMAerror(hdr, eidx, noret); break;
    }
  }
void XWin1D :: XWin1Derror ( int eidx , int noret ) const { string hdr ( " " ) ; string msg ; switch ( eidx ) { case 21 : GAMMAerror ( hdr , " " , noret ) ; break ; case 22 : GAMMAerror ( hdr , " " , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
These functions take care of any errors encountered when reading, writing,
and setting parameters in Bruker acquisition data sets.
These functions take care of any errors encountered when reading writing and setting parameters in Bruker acquisition data sets .
// (21) // (22) // Usually Unknown Error  (-1)