Last change
on this file since 4017 was 3493, checked in by ansari, 17 years ago |
1/ Ajout methodes FitsArrayHandler<T>::ReadAtOffset() WriteAtOffset() pour lecture/ecriture de tableaux <> HDU IMAGE par morceaux
2/ Ajout entete commentaire avec copyright LAL+DAPNIA dans les fichiers .h
Reza 30/04/2008
|
File size:
776 bytes
|
Rev | Line | |
---|
[3493] | 1 | /*
|
---|
| 2 | --- SOPHYA software - FitsIOServer module ---
|
---|
| 3 | R. Ansari , 2005
|
---|
| 4 | (C) UPS+LAL IN2P3/CNRS (C) DAPNIA-SPP/CEA
|
---|
| 5 | */
|
---|
[2864] | 6 | #ifndef FITSDTABLEHAND_H
|
---|
| 7 | #define FITSDTABLEHAND_H
|
---|
[2820] | 8 |
|
---|
| 9 | #include "machdefs.h"
|
---|
| 10 | #include <string>
|
---|
| 11 | #include "datatable.h"
|
---|
| 12 |
|
---|
| 13 | #include "fitshandler.h"
|
---|
| 14 |
|
---|
| 15 | namespace SOPHYA {
|
---|
| 16 |
|
---|
| 17 | /*!
|
---|
| 18 | \ingroup FitsIOServer
|
---|
| 19 | \brief FITS I/O handler for DataTable objects
|
---|
| 20 | */
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 |
|
---|
| 24 | inline FitsInOutFile& operator << (FitsInOutFile& os, BaseDataTable const & obj)
|
---|
| 25 | { FitsHandler<BaseDataTable> fio(const_cast<BaseDataTable &>(obj)); fio.Write(os); return os; }
|
---|
| 26 |
|
---|
| 27 | inline FitsInOutFile& operator >> (FitsInOutFile& is, BaseDataTable & obj)
|
---|
[3047] | 28 | { FitsHandler<BaseDataTable> fio(obj); is.SkipEmptyFirstHDU();
|
---|
| 29 | fio.Read(is); is.MoveToNextHDU(); return(is); }
|
---|
[2820] | 30 |
|
---|
| 31 |
|
---|
| 32 | } // Fin du namespace
|
---|
| 33 |
|
---|
| 34 | #endif
|
---|
| 35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.