src/GamIO/XWinOutd.cc
/* These functions will read in the 1D plot/print parameters from an XWinNMR
   parameter file, typically named outd.  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 1D plot/print parameters from an XWinNMR
parameter file, typically named outd.  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 1D plot / print parameters from an XWinNMR parameter file typically named outd . 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 XWinOutd::read(const string& filein, int warn)
  {
  oname = filein;				
  bool TF = read(warn);                          
  if(!TF && warn)                               
    {
    XWinOutderror(1, filein, 1);               
    if(warn > 1) XWinOutderror(3);             
    else         XWinOutderror(3,1);
    }
  return TF;
  }
bool XWinOutd :: read ( const string & filein , int warn ) { oname = filein ; bool TF = read ( warn ) ; if ( ! TF && warn ) { XWinOutderror ( 1 , filein , 1 ) ; if ( warn > 1 ) XWinOutderror ( 3 ) ; else XWinOutderror ( 3 , 1 ) ; } return TF ; }
These functions will read in the 1D plot/print parameters from an XWinNMR
parameter file, typically named outd.
These functions will read in the 1D plot / print parameters from an XWinNMR parameter file typically named outd .
// Set internal filename // Read in all parameters // Output errors if trouble // Problems with filein // Can't construct from pset