Commit 6fa211725872b8c5fbfb0aad85b1c81d983716d2

Authored by knodlseder
1 parent 71b9f9af

initial implementation

pyext/GFitsAsciiTable.i 0 → 100644
  1 +/***************************************************************************
  2 + * GFitsAsciiTable.hpp - FITS ASCII table class SWIG definition *
  3 + * ----------------------------------------------------------------------- *
  4 + * copyright : (C) 2008 by Jurgen Knodlseder *
  5 + * ----------------------------------------------------------------------- *
  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. *
  11 + * *
  12 + ***************************************************************************/
  13 +/**
  14 + * @file GFitsAsciiTable.i
  15 + * @brief GFitsAsciiTable class SWIG file.
  16 + * @author J. Knodlseder
  17 + */
  18 +%{
  19 +/* Put headers and other declarations here that are needed for compilation */
  20 +#include "GFitsAsciiTable.hpp"
  21 +%}
  22 +%feature("notabstract") GFitsAsciiTable;
  23 +
  24 +
  25 +/***********************************************************************//**
  26 + * @class GFitsAsciiTable
  27 + *
  28 + * @brief SWIG interface for FITS binary table
  29 + ***************************************************************************/
  30 +class GFitsAsciiTable : public GFitsTable {
  31 +public:
  32 + // Constructors and destructors
  33 + GFitsAsciiTable();
  34 + GFitsAsciiTable(int nrows);
  35 + GFitsAsciiTable(const GFitsAsciiTable& table);
  36 + virtual ~GFitsAsciiTable();
  37 +};
pyext/gammalib.i
@@ -27,6 +27,7 @@ @@ -27,6 +27,7 @@
27 #include "GFitsImage.i" 27 #include "GFitsImage.i"
28 #include "GFitsDblImage.i" 28 #include "GFitsDblImage.i"
29 #include "GFitsTable.i" 29 #include "GFitsTable.i"
  30 +#include "GFitsAsciiTable.i"
30 #include "GFitsBinTable.i" 31 #include "GFitsBinTable.i"
31 #include "GFitsTableCol.i" 32 #include "GFitsTableCol.i"
32 #include "GFitsTableDblCol.i" 33 #include "GFitsTableDblCol.i"