Last change
on this file since 3023 was 2864, checked in by ansari, 20 years ago |
1/ Ajout methode CheckReadability() , retour int pour CheckHandling() ds l'interface FitsHandler et propagation vers handler TArray et DataTable
2/ Correction dans FitsManager et ajout initialiseur de module FitsIOServer (fiosinit.h .cc)
3/ FitsSwapper complete - corrige - full template (suppression de fitsswapper.cc)
4/ MAJ Makefile et objlist.list suite ajout fiosinit.cc et swfitsdtable
Reza , 2 Jan 2006
|
File size:
621 bytes
|
Line | |
---|
1 | #ifndef FITSDTABLEHAND_H
|
---|
2 | #define FITSDTABLEHAND_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.