From 711257219bc7af3531479f8cfb3385909389fe54 Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Thu, 4 Aug 2011 21:47:00 +0000 Subject: [PATCH] add exttype method --- pyext/GFitsBinTable.i | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/pyext/GFitsBinTable.i b/pyext/GFitsBinTable.i index 4bb5d6d..52e583a 100644 --- a/pyext/GFitsBinTable.i +++ b/pyext/GFitsBinTable.i @@ -1,18 +1,26 @@ /*************************************************************************** * GFitsBinTable.i - FITS binary table class SWIG definition * * ----------------------------------------------------------------------- * - * copyright : (C) 2008 by Jurgen Knodlseder * + * copyright (C) 2008-2011 by Jurgen Knodlseder * * ----------------------------------------------------------------------- * * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * This program is free software: you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation, either version 3 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program. If not, see . * * * ***************************************************************************/ /** * @file GFitsBinTable.i - * @brief GFitsBinTable class SWIG file. + * @brief Binary FITS table Python interface * @author J. Knodlseder */ %{ @@ -30,8 +38,11 @@ class GFitsBinTable : public GFitsTable { public: // Constructors and destructors - GFitsBinTable(); + GFitsBinTable(void); GFitsBinTable(int nrows); GFitsBinTable(const GFitsBinTable& table); - virtual ~GFitsBinTable(); + virtual ~GFitsBinTable(void); + + // Implemented pure virtual methods + HDUType exttype(void) const; }; -- libgit2 0.21.4