Changeset 3613 for trunk/tools/common/kFile.h
- Timestamp:
- May 27, 2000, 4:14:21 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/common/kFile.h
r3592 r3613 1 /* $Id: kFile.h,v 1. 1 2000-05-23 18:23:05bird Exp $1 /* $Id: kFile.h,v 1.2 2000-05-27 02:14:21 bird Exp $ 2 2 * 3 3 * kFile - Simple (for the time being) file class. … … 38 38 39 39 /** @cat internal methods for maintaing internal structures. */ 40 BOOL refreshFileStatus() ;41 BOOL position() ;40 BOOL refreshFileStatus() throw(int); 41 BOOL position() throw(int); 42 42 43 43 public: … … 47 47 48 48 /** @cat File I/O methods */ 49 BOOL read(void *pvBuffer, long cbBuffer) ;50 BOOL readAt(void *pvBuffer, long cbBuffer, long off) ;49 BOOL read(void *pvBuffer, long cbBuffer) throw(int); 50 BOOL readAt(void *pvBuffer, long cbBuffer, long off) throw(int); 51 51 52 BOOL write(void *pvBuffer, long cbBuffer) ;53 BOOL writeAt(void *pvBuffer, long cbBuffer, long off) ;52 BOOL write(void *pvBuffer, long cbBuffer) throw(int); 53 BOOL writeAt(void *pvBuffer, long cbBuffer, long off) throw(int); 54 54 55 55 /** @cat File seek methods */ 56 BOOL move(long off) ;57 BOOL set(long off) ;58 BOOL end() ;56 BOOL move(long off) throw(int); 57 BOOL set(long off) throw(int); 58 BOOL end() throw(int); 59 59 BOOL start(); 60 60 61 61 /** @cat Query methods */ 62 LONG getSize(); 63 BOOL isEOF(); 62 long getSize() throw(int); 63 long getPos() const throw(int); 64 BOOL isEOF() throw(int); 64 65 65 66 /** @cat Error handling */ 66 67 BOOL setThrowOnErrors(); 67 68 BOOL setFailOnErrors(); 68 int getLastError() ;69 int getLastError() const; 69 70 }; 70 71
Note:
See TracChangeset
for help on using the changeset viewer.