Data Access Library (DAL)
|
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_FLAGGING_H 00018 #define DAL_FLAGGING_H 00019 00020 #include <cstddef> 00021 #include <string> 00022 #include "../hdf5/types/h5tuple.h" 00023 00024 namespace dal { 00025 00032 struct Range : public TupleBase<unsigned long long, 2> { 00033 unsigned long long begin; // inclusive 00034 unsigned long long end; // exclusive 00035 00036 Range(); 00037 00038 Range(unsigned long long begin, unsigned long long end); 00039 00040 00042 std::string to_string(); 00043 }; 00044 00045 } 00046 00047 #endif 00048