Rev | Line | |
---|
[3123] | 1 | #ifndef FITSHISTERRHAND_H
|
---|
| 2 | #define FITSHISTERRHAND_H
|
---|
| 3 |
|
---|
| 4 | #include "machdefs.h"
|
---|
| 5 | #include <string>
|
---|
| 6 |
|
---|
| 7 | #include "histerr.h"
|
---|
| 8 | #include "hist2err.h"
|
---|
| 9 | #include "fitshandler.h"
|
---|
| 10 |
|
---|
| 11 | namespace SOPHYA {
|
---|
| 12 |
|
---|
| 13 | /*!
|
---|
| 14 | \ingroup FitsIOServer
|
---|
| 15 | \brief FITS I/O handler for HistErr objects
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | inline FitsInOutFile& operator << (FitsInOutFile& os, HistoErr const & obj)
|
---|
| 19 | { FitsHandler<HistoErr> fio(const_cast<HistoErr &>(obj)); fio.Write(os); return os; }
|
---|
| 20 |
|
---|
| 21 | inline FitsInOutFile& operator >> (FitsInOutFile& is, HistoErr & obj)
|
---|
| 22 | { FitsHandler<HistoErr> fio(obj); is.SkipEmptyFirstHDU();
|
---|
| 23 | fio.Read(is); is.MoveToNextHDU(); return(is); }
|
---|
| 24 |
|
---|
| 25 | /*!
|
---|
| 26 | \ingroup FitsIOServer
|
---|
| 27 | \brief FITS I/O handler for Histo2DErr objects
|
---|
| 28 | */
|
---|
| 29 |
|
---|
| 30 | inline FitsInOutFile& operator << (FitsInOutFile& os, Histo2DErr const & obj)
|
---|
| 31 | { FitsHandler<Histo2DErr> fio(const_cast<Histo2DErr &>(obj)); fio.Write(os); return os; }
|
---|
| 32 |
|
---|
| 33 | inline FitsInOutFile& operator >> (FitsInOutFile& is, Histo2DErr & obj)
|
---|
| 34 | { FitsHandler<Histo2DErr> fio(obj); is.SkipEmptyFirstHDU();
|
---|
| 35 | fio.Read(is); is.MoveToNextHDU(); return(is); }
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | } // Fin du namespace
|
---|
| 39 |
|
---|
| 40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.