Changeset 2864 in Sophya for trunk/SophyaExt/FitsIOServer/fitsmanager.h
- Timestamp:
- Jan 2, 2006, 2:47:44 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsmanager.h
r2820 r2864 16 16 class FitsManager { 17 17 public: 18 static int RegisterHandler(FitsHandlerInterface * fhi, string & clname); 18 //! Called once for each handler during init phase. 19 static int RegisterHandler(FitsHandlerInterface * fhi, string clname=""); 20 //! Print list of handlers on cout 19 21 static int ListHandlers(); 22 //! Finds the appropriate handler and writes the object \b o to fits file \b os 20 23 static void Write(FitsInOutFile& os, AnyDataObj & o); 21 static void Read(FitsInOutFile& os, AnyDataObj & o); 22 // static FitsHandlerInterface * Read(FitsInOutFile& os); 24 //! Finds the appropriate handler and reads the object \b o from fits file \b is 25 static void Read(FitsInOutFile& is, AnyDataObj & o); 26 //! Finds the appropriate reader for the current HDU and reads the data form \b is 27 static FitsHandlerInterface * Read(FitsInOutFile& is); 23 28 protected: 29 //! Finds the appropriate handler for the object \b o in the list of registered handlers. 24 30 static FitsHandlerInterface* FindHandler(AnyDataObj & o); 31 //! Finds the appropriate reader for the current HDU in the list of registered handlers. 32 static FitsHandlerInterface* FindReader(FitsInOutFile& is); 25 33 }; 26 34
Note:
See TracChangeset
for help on using the changeset viewer.