Commit 711257219bc7af3531479f8cfb3385909389fe54
1 parent
e8755e1c
add exttype method
Showing
1 changed file
with
19 additions
and
8 deletions
pyext/GFitsBinTable.i
| 1 | 1 | /*************************************************************************** |
| 2 | 2 | * GFitsBinTable.i - FITS binary table class SWIG definition * |
| 3 | 3 | * ----------------------------------------------------------------------- * |
| 4 | - * copyright : (C) 2008 by Jurgen Knodlseder * | |
| 4 | + * copyright (C) 2008-2011 by Jurgen Knodlseder * | |
| 5 | 5 | * ----------------------------------------------------------------------- * |
| 6 | 6 | * * |
| 7 | - * This program is free software; you can redistribute it and/or modify * | |
| 8 | - * it under the terms of the GNU General Public License as published by * | |
| 9 | - * the Free Software Foundation; either version 2 of the License, or * | |
| 10 | - * (at your option) any later version. * | |
| 7 | + * This program is free software: you can redistribute it and/or modify * | |
| 8 | + * it under the terms of the GNU General Public License as published by * | |
| 9 | + * the Free Software Foundation, either version 3 of the License, or * | |
| 10 | + * (at your option) any later version. * | |
| 11 | + * * | |
| 12 | + * This program is distributed in the hope that it will be useful, * | |
| 13 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of * | |
| 14 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | |
| 15 | + * GNU General Public License for more details. * | |
| 16 | + * * | |
| 17 | + * You should have received a copy of the GNU General Public License * | |
| 18 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. * | |
| 11 | 19 | * * |
| 12 | 20 | ***************************************************************************/ |
| 13 | 21 | /** |
| 14 | 22 | * @file GFitsBinTable.i |
| 15 | - * @brief GFitsBinTable class SWIG file. | |
| 23 | + * @brief Binary FITS table Python interface | |
| 16 | 24 | * @author J. Knodlseder |
| 17 | 25 | */ |
| 18 | 26 | %{ |
| ... | ... | @@ -30,8 +38,11 @@ |
| 30 | 38 | class GFitsBinTable : public GFitsTable { |
| 31 | 39 | public: |
| 32 | 40 | // Constructors and destructors |
| 33 | - GFitsBinTable(); | |
| 41 | + GFitsBinTable(void); | |
| 34 | 42 | GFitsBinTable(int nrows); |
| 35 | 43 | GFitsBinTable(const GFitsBinTable& table); |
| 36 | - virtual ~GFitsBinTable(); | |
| 44 | + virtual ~GFitsBinTable(void); | |
| 45 | + | |
| 46 | + // Implemented pure virtual methods | |
| 47 | + HDUType exttype(void) const; | |
| 37 | 48 | }; | ... | ... |