src/Level2/EAngles.cc
/*      Input                   EAx     : Euler Angles (this)
                                eidx    : Error index
                                noret   : Flag for linefeed (0=linefeed)
        Output                  none    : Error message output
                                          Program execution stopped if fatal */
Input                   EAx     : Euler Angles (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input EAx : Euler Angles ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
void EAngles::EAerror(int eidx, int noret) const
  {
  string hdr("Euler Angles");
  string msg;
  switch (eidx)
    {
    case 33: msg = string("Not Specified From Given Parameters");      
             GAMMAerror(hdr,msg,noret); break;
    case 34: msg = string("Cannot Properly Set From Param. Set");      
             GAMMAerror(hdr,msg,noret); break;
    case 40: msg = string("Can't Write To Parameter Set File");        
             GAMMAerror(hdr,msg,noret); break;
    case 41: msg = string("Can't Read Parameters From File");          
             GAMMAerror(hdr,msg,noret); break;
    case 42: msg = string("Can't Set From External File");             
             GAMMAerror(hdr,msg,noret); break;
    default: GAMMAerror(hdr,eidx,noret); break;
    }
  }
void EAngles :: EAerror ( int eidx , int noret ) const { string hdr ( " " ) ; string msg ; switch ( eidx ) { case 33 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 34 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 40 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 41 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 42 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input                   EAx     : Euler Angles (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input EAx : Euler Angles ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
// (33) // (34) // (40) // (41) // (42)