19         else if( unit == 
"mJy" )
 
   24         else if( unit == 
"MJy/sr" )
 
   31                 if( unit.substr(len,5) == 
"erg/s" )
 
   36                 else if( unit.substr(len,1) == 
"W" )
 
   41                 if( unit.substr(len,4) == 
"/cm2" )
 
   46                 else if( unit.substr(len,3) == 
"/m2" )
 
   51                 if( unit.substr(len,2) == 
"/A" )
 
   56                 if( unit.substr(len,3) == 
"/nm" )
 
   61                 else if( unit.substr(len,7) == 
"/micron" )
 
   66                 else if( unit.substr(len,3) == 
"/Hz" )
 
   71                 if( unit.substr(len,3) == 
"/sr" )
 
   76                 else if( unit.substr(len,8) == 
"/arcsec2" )
 
   93                 fprintf( 
ioQQQ, 
" insane units in Flux::InternalFluxUnit: \"%s\"\n", unit.c_str() );
 
  111                 bits.reset(FU_MJY_SR);
 
  115                         bits.reset(FU_ERG_S);
 
  116                 else if( bits[
FU_W] )
 
  122                 else if( bits[
FU_M2] )
 
  128                 else if( bits[
FU_NM] )
 
  130                 else if( bits[
FU_MU] )
 
  132                 else if( bits[
FU_HZ] )
 
  211         else if( 
nMatch(
"MJY/SR",chCard) )
 
  213         else if( 
nMatch(
" MJY",chCard) )
 
  217         if( 
nMatch(
"ERG/S/",chCard) )
 
  219         else if( 
nMatch(
"W/SQ",chCard) )
 
  224         if( 
nMatch(
"/SQCM",chCard) )
 
  226         else if( 
nMatch(
"/SQM",chCard) )
 
  233         else if( 
nMatch(
"/NM",chCard) )
 
  235         else if( 
nMatch(
"/MICR",chCard) )
 
  237         else if( 
nMatch(
"/HZ",chCard) )
 
  240         if( 
nMatch(
"/SR",chCard) )
 
  242         else if( 
nMatch(
"/SQAS",chCard) )
 
  247                 fprintf( 
ioQQQ, 
" No valid flux unit was recognized on this line:\n %s\n\n", chCard );
 
bool p_ValidFluxUnit(fu_bits) const 
bool ValidFluxUnit(const string &unit)
fu_bits p_InternalFluxUnitNoCheck(const string &unit, size_t &len) const 
long nMatch(const char *chKey, const char *chCard)
fu_bits p_InternalFluxUnit(const string &unit) const 
double p_get(fu_bits bits) const 
void p_set(Energy e, double value, fu_bits bits)
string StandardFluxUnit(const char *chCard)
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)