Line | |
---|
1 | #ifndef FITSGENDATAHAND_H
|
---|
2 | #define FITSGENDATAHAND_H
|
---|
3 |
|
---|
4 | #include "machdefs.h"
|
---|
5 | #include <string>
|
---|
6 |
|
---|
7 | #include "generaldata.h"
|
---|
8 | #include "fitshandler.h"
|
---|
9 |
|
---|
10 | namespace SOPHYA {
|
---|
11 |
|
---|
12 | /*!
|
---|
13 | \ingroup FitsIOServer
|
---|
14 | \brief FITS I/O handler for GeneralFitData objects
|
---|
15 | */
|
---|
16 |
|
---|
17 | inline FitsInOutFile& operator << (FitsInOutFile& os, GeneralFitData const & obj)
|
---|
18 | { FitsHandler<GeneralFitData> fio(const_cast<GeneralFitData &>(obj)); fio.Write(os); return os; }
|
---|
19 |
|
---|
20 | inline FitsInOutFile& operator >> (FitsInOutFile& is, GeneralFitData & obj)
|
---|
21 | { FitsHandler<GeneralFitData> fio(obj); is.SkipEmptyFirstHDU();
|
---|
22 | fio.Read(is); is.MoveToNextHDU(); return(is); }
|
---|
23 |
|
---|
24 |
|
---|
25 | } // Fin du namespace
|
---|
26 |
|
---|
27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.