9 #ifndef CARMA_SERVICES_OPTICALCATALOG_H
10 #define CARMA_SERVICES_OPTICALCATALOG_H
14 #include "carma/util/Program.h"
21 class OpticalCatalog :
public carma::services::Catalog {
26 virtual ~OpticalCatalog();
33 void open(
const std::string & fileName);
45 const Star & lookup(
const std::string & sourceName);
52 static const ::std::string defaultCatalog() {
60 ::std::map< ::std::string, carma::services::Star > getSourceMap()
const
67 static const ::std::string DEFAULT_CATALOG;
70 ::std::map< ::std::string, services::Star > stars_;
::std::string getConfFile(const ::std::string &filename)
Get the absolute path of a configuration file.