src/Level2/TrnsTable1D.cc
/*      Input	                TTab1D  : A transitions table (this)
                                eidx    : Error index
                                noret   : Flag for linefeed (0=linefeed)
        Output                  none    : Error message output
                                          Program execution stopped if fatal */
Input                     TTab1D  : A transitions table (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input TTab1D : A transitions table ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
void TTable1D::TTaberror(int eidx, int noret) const
  {
  string hdr("1D Transition Table");
  string msg;
  switch(eidx)
    {
    case 49: msg=string("Frequency Output Type Unknown");		
             GAMMAerror(hdr,msg,noret); break;
    case 50: msg=string("Wrong Number of Columns in Table");		
             GAMMAerror(hdr,msg,noret); break;
    case 51: msg=string("Transition Linewidths Cannot Be Negative");	
             GAMMAerror(hdr,msg,noret); break;
    case 52: msg=string("Setting Transition Linewidth To Zero");	
             GAMMAerror(hdr,msg,noret); break;
    case 60: msg=string("Can't Determine # of Transitions");		
             GAMMAerror(hdr,msg,noret); break;
    case 61: msg=string("Should Set TrN in ASCII Parameter File");	
             GAMMAerror(hdr,msg,noret); break;
    default: GAMMAerror(hdr, eidx, noret); break;
    }
  }
void TTable1D :: TTaberror ( int eidx , int noret ) const { string hdr ( " " ) ; string msg ; switch ( eidx ) { case 49 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 50 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 51 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 52 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 60 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 61 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input                     TTab1D  : A transitions table (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input TTab1D : A transitions table ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
//(49) //(50) //(51) //(52) //(60) //(61)