source: Sophya/trunk/SophyaExt/FitsIOServer/fitsmanager.h@ 2820

Last change on this file since 2820 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

  • Property svn:executable set to *
File size: 671 bytes
Line 
1#ifndef FITSMANAGER_H
2#define FITSMANAGER_H
3
4#include "machdefs.h"
5#include <string>
6#include "fitsinoutfile.h"
7
8namespace SOPHYA {
9
10class FitsHandlerInterface;
11
12/*!
13 \ingroup FitsIOServer
14 \brief Top level FITS I/O operations and handler management.
15*/
16class FitsManager {
17 public:
18 static int RegisterHandler(FitsHandlerInterface * fhi, string & clname);
19 static int ListHandlers();
20 static void Write(FitsInOutFile& os, AnyDataObj & o);
21 static void Read(FitsInOutFile& os, AnyDataObj & o);
22 // static FitsHandlerInterface * Read(FitsInOutFile& os);
23 protected:
24 static FitsHandlerInterface* FindHandler(AnyDataObj & o);
25};
26
27} // Fin du namespace
28
29#endif
30
Note: See TracBrowser for help on using the repository browser.