diff --git a/pyext/GFitsAsciiTable.i b/pyext/GFitsAsciiTable.i new file mode 100644 index 0000000..e3a467f --- /dev/null +++ b/pyext/GFitsAsciiTable.i @@ -0,0 +1,37 @@ +/*************************************************************************** + * GFitsAsciiTable.hpp - FITS ASCII table class SWIG definition * + * ----------------------------------------------------------------------- * + * copyright : (C) 2008 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. * + * * + ***************************************************************************/ +/** + * @file GFitsAsciiTable.i + * @brief GFitsAsciiTable class SWIG file. + * @author J. Knodlseder + */ +%{ +/* Put headers and other declarations here that are needed for compilation */ +#include "GFitsAsciiTable.hpp" +%} +%feature("notabstract") GFitsAsciiTable; + + +/***********************************************************************//** + * @class GFitsAsciiTable + * + * @brief SWIG interface for FITS binary table + ***************************************************************************/ +class GFitsAsciiTable : public GFitsTable { +public: + // Constructors and destructors + GFitsAsciiTable(); + GFitsAsciiTable(int nrows); + GFitsAsciiTable(const GFitsAsciiTable& table); + virtual ~GFitsAsciiTable(); +}; diff --git a/pyext/gammalib.i b/pyext/gammalib.i index ae00e68..1d09c30 100755 --- a/pyext/gammalib.i +++ b/pyext/gammalib.i @@ -27,6 +27,7 @@ #include "GFitsImage.i" #include "GFitsDblImage.i" #include "GFitsTable.i" +#include "GFitsAsciiTable.i" #include "GFitsBinTable.i" #include "GFitsTableCol.i" #include "GFitsTableDblCol.i"