Last change
on this file since 2824 was 2820, checked in by ansari, 20 years ago |
1/ Ajout classes FitsInOutFile / FitsTypes / FitsIOException d'enrobage lib cfitsio
2/ Ajout classes FitsBlockRW<T> pour lecture/ecriture sur IMGHDU et Tables
3/ Ajout classes gestionnaire FITS FitsHandler<T> et FitsManager
4/ Ajout classe gestionnaires pour TArray<T> FitsArrayHandler<T>
5/ Ajout classe gestionnaire pour DataTable FitsHandler<BaseDataTable>
Reza 12 octobre 2006
|
File size:
615 bytes
|
Line | |
---|
1 | #ifndef FITSARRHAND_H
|
---|
2 | #define FITSARRHAND_H
|
---|
3 |
|
---|
4 | #include "machdefs.h"
|
---|
5 | #include <string>
|
---|
6 | #include "datatable.h"
|
---|
7 |
|
---|
8 | #include "fitshandler.h"
|
---|
9 |
|
---|
10 | namespace SOPHYA {
|
---|
11 |
|
---|
12 | /*!
|
---|
13 | \ingroup FitsIOServer
|
---|
14 | \brief FITS I/O handler for DataTable objects
|
---|
15 | */
|
---|
16 |
|
---|
17 |
|
---|
18 |
|
---|
19 | inline FitsInOutFile& operator << (FitsInOutFile& os, BaseDataTable const & obj)
|
---|
20 | { FitsHandler<BaseDataTable> fio(const_cast<BaseDataTable &>(obj)); fio.Write(os); return os; }
|
---|
21 |
|
---|
22 | inline FitsInOutFile& operator >> (FitsInOutFile& is, BaseDataTable & obj)
|
---|
23 | { FitsHandler<BaseDataTable> fio(obj); fio.Read(is); is.MoveToNextHDU(); return(is); }
|
---|
24 |
|
---|
25 |
|
---|
26 | } // Fin du namespace
|
---|
27 |
|
---|
28 | #endif
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.