Changeset 2932 in Sophya for trunk/SophyaExt/FitsIOServer/fitshandler.h
- Timestamp:
- Apr 3, 2006, 12:13:59 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitshandler.h
r2864 r2932 20 20 //! Return the real data object 21 21 virtual AnyDataObj* DataObj() = 0; // Retourne l'objet reel 22 //! Return a positive value if I/O for object \b o can be handled 22 23 /*! 24 \brief Return a positive value if I/O for object \b o can be handled 25 26 - Rc= 0 -> Can NOT handle fits I/O operations for the object \b o 27 - Rc= 1 -> Can handle fits I/O operations for the object \b o 28 - Rc= 2 -> This is a specific handler for object \b o 29 - Rc > 2 -> Higher Rc values can be returned if needed 30 (for subclasses with specific handlers) 31 32 */ 23 33 virtual int CheckHandling(AnyDataObj & o) = 0; 24 34 //! Read/write operation will use the object o 25 35 virtual void SetDataObj(AnyDataObj & o) = 0; 26 36 27 //! Return a positive value if current HDU can be read by the handler 37 //! 38 /*! 39 \brief Return a positive value if current HDU can be read by the handler 40 41 - Rc= 0 -> Can NOT read the current HDU 42 - Rc= 1 -> Can read the current HDU (generic reader) 43 - Rc= 2 -> Can read the current HDU, as a specific reader 44 - Rc > 2 -> Higher Rc values can be returned if needed 45 (when multiple specific handlers are registered) 46 47 */ 28 48 virtual int CheckReadability(FitsInOutFile& is) = 0; 29 49
Note:
See TracChangeset
for help on using the changeset viewer.