The SourceCatalog class is used to hold information regarding a particular source catalog file as retrieved from a Catalog.
More...
#include <carma/services/SourceCatalog.h>
Inherits carma::services::Catalog.
|
static const long | NO_COMMENT = -1 |
| We're allowed to have no comments in catalog, as this value indicates. More...
|
|
carma::services::Table | catalogTable_ |
|
std::string | fileName_ |
|
The SourceCatalog class is used to hold information regarding a particular source catalog file as retrieved from a Catalog.
Definition at line 28 of file SourceCatalog.h.
- Returns
- an iterator over all sources in this catalog, initially pointing to the first source in the underlying source map.
- Returns
- an iterator over all sources in this catalog, pointing to the end of the underlying source map. For use in loops.
static const std::string carma::services::SourceCatalog::defaultCatalog |
( |
| ) |
|
|
static |
- Returns
- the default CARMA Source catalog NB: could move this to Catalog.h if we want all Catalogs to provide this.
Definition at line 58 of file SourceCatalog.h.
- Returns
- the underlyin map of sources. The map key is the upper case source name.
Definition at line 78 of file SourceCatalog.h.
Select a source from the file of input sources.
This look-up is case insensitive.
- Parameters
-
- Returns
- A carma::services::Source representation of the named entry
- Exceptions
-
void carma::services::SourceCatalog::open |
( |
const std::string & |
fileName | ) |
|
Open a file containing a source catalog.
- Parameters
-
- Exceptions
-
The documentation for this class was generated from the following file: