Ignore:
Timestamp:
Jan 13, 2006, 7:26:40 PM (20 years ago)
Author:
ansari
Message:

Ajout methode FitsManager::ScanFile() et corrections diverses - Reza 13/01/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsmanager.h

    r2895 r2898  
    44#include "machdefs.h"
    55#include <string>
     6#include <iostream>
    67#include "fitsinoutfile.h"
    78
     
    2627  //! Finds the appropriate reader for the current HDU and reads the data form \b is
    2728  static FitsHandlerInterface * Read(FitsInOutFile& is);
     29  //! Scans the fits file and prints information about each HDU on formatted stream \b os
     30  static int ScanFile(string filename, ostream& os, int slev=0);
     31  //! Scans the fits file and prints information about each HDU on \b cout
     32  static inline int ScanFile(string filename, int slev=0)
     33    { return ScanFile(filename, cout, slev); }
     34
    2835 protected:
    2936  //! Finds the appropriate handler for the object \b o in the list of registered handlers.
Note: See TracChangeset for help on using the changeset viewer.