orsa_config.cc File Reference

#include "orsa_config.h"
#include "orsa_file.h"

Include dependency graph for orsa_config.cc:

Go to the source code of this file.

Namespaces

namespace  orsa

Functions

string Label (const ConfigEnum e)


Function Documentation

string Label const ConfigEnum  e  ) 
 

Definition at line 32 of file orsa_config.cc.

References orsa::ASTDYS_ALLNUM_CAT, orsa::ASTDYS_ALLNUM_CTC, orsa::ASTDYS_ALLNUM_CTM, orsa::ASTDYS_UFITOBS_CAT, orsa::ASTDYS_UFITOBS_CTC, orsa::ASTDYS_UFITOBS_CTM, orsa::JPL_DASTCOM_COMET, orsa::JPL_DASTCOM_NUM, orsa::JPL_DASTCOM_UNNUM, orsa::JPL_EPHEM_FILE, orsa::label(), orsa::LOWELL_ASTORB, orsa::MPC_COMET, orsa::MPC_DAILY, orsa::MPC_DISTANT, orsa::MPC_MPCORB, orsa::MPC_NEA, orsa::MPC_PHA, orsa::MPC_UNUSUALS, orsa::NEODYS_CAT, orsa::NEODYS_CTC, orsa::NO_CONFIG_ENUM, orsa::OBSCODE, orsa::TEXTURE_EARTH, orsa::TEXTURE_JUPITER, orsa::TEXTURE_MARS, orsa::TEXTURE_MERCURY, orsa::TEXTURE_MOON, orsa::TEXTURE_NEPTUNE, orsa::TEXTURE_PLUTO, orsa::TEXTURE_SATURN, orsa::TEXTURE_SUN, orsa::TEXTURE_URANUS, orsa::TEXTURE_VENUS, orsa::TLE_GEO, orsa::TLE_GPS, orsa::TLE_ISS, orsa::TLE_KEPELE, orsa::TLE_NASA, orsa::TLE_VISUAL, and orsa::TLE_WEATHER.

00032                                    {
00033     string label;
00034     switch(e) {
00035     case JPL_EPHEM_FILE:     label="JPL ephemeris";                               break;
00036     case JPL_DASTCOM_NUM:    label="JPL asteroids database (NUM)";                break;
00037     case JPL_DASTCOM_UNNUM:  label="JPL asteroids database (UNNUM)";              break;
00038     case JPL_DASTCOM_COMET:  label="JPL comets database";                         break;
00039     case LOWELL_ASTORB:      label="Lowell asteroids database";                   break;
00040     case MPC_MPCORB:         label="MPC asteroids database";                      break;
00041     case MPC_COMET:          label="MPC comets database";                         break;
00042     case MPC_NEA:            label="MPC asteroids database (NEA)";                break;
00043     case MPC_DAILY:          label="MPC asteroids database (DAILY)";              break;
00044     case MPC_DISTANT:        label="MPC asteroids database (DISTANT)";            break;     
00045     case MPC_PHA:            label="MPC asteroids database (PHA)";                break;
00046     case MPC_UNUSUALS:       label="MPC asteroids database (UNUSUALS)";           break;     
00047     case ASTDYS_ALLNUM_CAT:  label="AstDyS asteroids database (CAT)";             break;
00048     case ASTDYS_ALLNUM_CTC:  label="AstDyS asteroids database (CTC)";             break;
00049     case ASTDYS_ALLNUM_CTM:  label="AstDyS asteroids database (CTM)";             break;
00050     case ASTDYS_UFITOBS_CAT: label="AstDyS unnumbered asteroids database (CAT)";  break;
00051     case ASTDYS_UFITOBS_CTC: label="AstDyS unnumbered asteroids database (CTC)";  break;
00052     case ASTDYS_UFITOBS_CTM: label="AstDyS unnumbered asteroids database (CTM)";  break;
00053     case NEODYS_CAT:         label="NEODyS asteroids database (CAT)";             break;
00054     case NEODYS_CTC:         label="NEODyS asteroids database (CTC)";             break;
00055     case OBSCODE:            label="Observatory codes";                           break;
00056       // TLE
00057     case TLE_NASA:    label="TLE (NASA)";    break;
00058     case TLE_GEO:     label="TLE (GEO)";     break;
00059     case TLE_GPS:     label="TLE (GPS)";     break;
00060     case TLE_ISS:     label="TLE (ISS)";     break;
00061     case TLE_KEPELE:  label="TLE (KEPELE)";  break;
00062     case TLE_VISUAL:  label="TLE (VISUAL)";  break;
00063     case TLE_WEATHER: label="TLE (WEATHER)"; break;   
00064       // textures
00065     case TEXTURE_SUN :    label="Sun's texture"; break;   
00066     case TEXTURE_MERCURY: label="Mercury's texture"; break;   
00067     case TEXTURE_VENUS:   label="Venus's texture"; break;   
00068     case TEXTURE_EARTH:   label="Earth's texture"; break;   
00069     case TEXTURE_MOON:    label="Moon's texture";  break;   
00070     case TEXTURE_MARS:    label="Mars's texture"; break;   
00071     case TEXTURE_JUPITER: label="Jupiter's texture"; break;   
00072     case TEXTURE_SATURN:  label="Saturn's texture"; break;   
00073     case TEXTURE_URANUS:  label="Uranus's texture"; break;   
00074     case TEXTURE_NEPTUNE: label="Neptune's texture"; break;   
00075     case TEXTURE_PLUTO:   label="Pluto's texture"; break;   
00076       //
00077     case NO_CONFIG_ENUM:  label="This shuld not be used!"; break;
00078     }
00079     return label;
00080   }

Here is the call graph for this function:


Generated on Tue Jan 11 15:26:39 2005 for liborsa by  doxygen 1.4.0