src/GamIO/XWinProcPar.cc
/* These functions will read in the processing parameters from an XWinNMR
   parameter file, typically named proc, procs, proc2, proc2s,.....  By design,
   the Bruker parameter file is initially read into a GAMMA parameter set so
   that ALL parameters in the file are stored (class XWinPSet).  Subsequently,
   the parameters in the parameter set are parsed (herein) to obtain values of
   consequence to GAMMA and these are explicitly maintained variables in this
   class.

      Function                               Purpose
    ____________________________________________________________________________

       read              Read in parameter set for class object.  This is done
		         special since Bruker format is NOT in GAMMA parameter
		         format so it must be parsed appropriately.
      parsePSet          Converts parameters in internal pset to specific values
       getPar            Returns parameter found in the parameter set herein
			 This function is inherited from base class XWinPSet. */
These functions will read in the processing parameters from an XWinNMR
parameter file, typically named proc, procs, proc2, proc2s,.....  By design,
the Bruker parameter file is initially read into a GAMMA parameter set so
that ALL parameters in the file are stored (class XWinPSet).  Subsequently,
the parameters in the parameter set are parsed (herein) to obtain values of
consequence to GAMMA and these are explicitly maintained variables in this
class.

Function                               Purpose

read              Read in parameter set for class object.  This is done
special since Bruker format is NOT in GAMMA parameter
format so it must be parsed appropriately.
parsePSet          Converts parameters in internal pset to specific values
getPar            Returns parameter found in the parameter set herein
This function is inherited from base class XWinPSet.
These functions will read in the processing parameters from an XWinNMR parameter file typically named proc procs proc2 proc2s ..... By design the Bruker parameter file is initially read into a GAMMA parameter set so that ALL parameters in the file are stored ( class XWinPSet ) . Subsequently the parameters in the parameter set are parsed ( herein ) to obtain values of consequence to GAMMA and these are explicitly maintained variables in this class . Function Purpose read Read in parameter set for class object . This is done special since Bruker format is NOT in GAMMA parameter format so it must be parsed appropriately . parsePSet Converts parameters in internal pset to specific values getPar Returns parameter found in the parameter set herein This function is inherited from base class XWinPSet .
bool XWinProcPar::readPPar(const string& filein, int warn)
  {
  parfile = filein;				
  bool TF = readPPar(warn);			
  if(!TF && warn)                               
    {
    XWPPerror(1, filein, 1);		
    if(warn > 1) XWPPerror(3);		
    else         XWPPerror(3,1);
    }
  return TF;
  }
bool XWinProcPar :: readPPar ( const string & filein , int warn ) { parfile = filein ; bool TF = readPPar ( warn ) ; if ( ! TF && warn ) { XWPPerror ( 1 , filein , 1 ) ; if ( warn > 1 ) XWPPerror ( 3 ) ; else XWPPerror ( 3 , 1 ) ; } return TF ; }
These functions will read in the processing parameters from an XWinNMR
parameter file, typically named proc, procs, proc2, proc2s,.....  By design,
the Bruker parameter file is initially read into a GAMMA parameter set so
that ALL parameters in the file are stored (class XWinPSet).
These functions will read in the processing parameters from an XWinNMR parameter file typically named proc procs proc2 proc2s ..... By design the Bruker parameter file is initially read into a GAMMA parameter set so that ALL parameters in the file are stored ( class XWinPSet ) .
// Set internal filename // Read in all parameters // Output errors if trouble // Problems with filein // Can't construct from pset