Commit 7f7a1d417baf5963e0d74b49b6de959e820c0cb3
1 parent
ab6cfddb
add observation class
Showing
1 changed file
with
37 additions
and
0 deletions
pyext/GObservation.i
0 → 100644
| 1 | +/*************************************************************************** | |
| 2 | + * GObservation.i - Observation abstract base class SWIG interface * | |
| 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 GObservation.i | |
| 15 | + * @brief GObservation class SWIG file. | |
| 16 | + * @author J. Knodlseder | |
| 17 | + */ | |
| 18 | +%{ | |
| 19 | +/* Put headers and other declarations here that are needed for compilation */ | |
| 20 | +#include "GObservation.hpp" | |
| 21 | +%} | |
| 22 | + | |
| 23 | + | |
| 24 | +/***********************************************************************//** | |
| 25 | + * @class GObservation | |
| 26 | + * | |
| 27 | + * @brief Abstract interface for the observation classes. | |
| 28 | + ***************************************************************************/ | |
| 29 | +class GObservation { | |
| 30 | +public: | |
| 31 | + // Constructors and destructors | |
| 32 | + GObservation(); | |
| 33 | + GObservation(const GObservation& obs); | |
| 34 | + virtual ~GObservation(); | |
| 35 | + | |
| 36 | + // Methods | |
| 37 | +}; | ... | ... |