1 #ifndef CARMA_SERVICES_SOURCECATALOG_H
2 #define CARMA_SERVICES_SOURCECATALOG_H
7 #include "carma/services/Source.h"
11 #include "carma/util/Program.h"
39 void open(
const std::string& fileName);
78 ::std::map< ::std::string, carma::services::Source >
getSourceMap()
const
93 std::map<std::string, carma::services::Source> sources_;
94 static const std::string DEFAULT_CATALOG;
95 static const unsigned short SOURCE_NAME_CHAR_LIMIT;
102 #endif // CARMA_SERVICES_SOURCECATALOG_H
carma::services::SourceIterator catalogEnd() const
SourceNotFoundException class.
Source is derived from CatalogEntry and is used to hold information for a particular entry from a sou...
static const std::string defaultCatalog()
Various type definitions for services classes.
The SourceCatalog class is used to hold information regarding a particular source catalog file as ret...
carma::services::SourceIterator catalogBegin() const
void open(const std::string &fileName)
Open a file containing a source catalog.
::std::map< ::std::string, carma::services::Source > getSourceMap() const
::std::string getConfFile(const ::std::string &filename)
Get the absolute path of a configuration file.
const carma::services::Source & lookup(const std::string &sourceName)
Select a source from the file of input sources.
::std::map< ::std::string, carma::services::Source >::const_iterator SourceIterator
A const iterator over a map of Sources.