Data Access Library (DAL)
/home/amesfoort/DAL/dal/lofar/StationNames.h
00001 /* Copyright 2011-2012  ASTRON, Netherlands Institute for Radio Astronomy
00002  * This file is part of the Data Access Library (DAL).
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either 
00007  * version 3 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public 
00015  * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 #ifndef DAL_STATION_NAMES_H
00018 #define DAL_STATION_NAMES_H
00019 
00020 #include <string>
00021 #include "../hdf5/exceptions/exceptions.h"
00022 
00023 namespace dal {
00024 
00031 extern const char stationNames[][6];
00032 
00037 std::string stationIDToName(unsigned stationID);
00038 
00044 unsigned stationNameToID(const std::string& stationName);
00045 
00046 }
00047 
00048 #endif
00049 
 All Classes Functions Variables Typedefs Friends