Changeset 4358 for trunk/tools/common/kFile.h
- Timestamp:
- Oct 2, 2000, 6:01:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/common/kFile.h
r4129 r4358 1 /* $Id: kFile.h,v 1. 4 2000-08-31 03:00:13bird Exp $1 /* $Id: kFile.h,v 1.5 2000-10-02 04:01:39 bird Exp $ 2 2 * 3 3 * kFile - Simple (for the time being) file class. … … 26 26 HFILE hFile; /* Pointer to stdio filehandle */ 27 27 BOOL fReadOnly; /* True if readonly access, False is readwrite. */ 28 BOOL fStdDev; /* True if stdio, stderr or stdin. Filestatus is invalid with this is set.*/ 28 29 APIRET rc; /* Last error (return code). */ 29 30 FILESTATUS4 filestatus; /* Filestatus data. */ … … 42 43 BOOL position() throw(int); 43 44 45 /** @cat constructors */ 46 private: 47 kFile(HFILE hFile, BOOL fReadOnly); 44 48 public: 45 /** @cat constructor */46 49 kFile(const char *pszFilename, BOOL fReadOnly = TRUE) throw(int); 47 50 ~kFile(); … … 75 78 BOOL setFailOnErrors(); 76 79 int getLastError() const; 80 81 /** standard files */ 82 static kFile StdOut; 83 static kFile StdIn; 84 static kFile StdErr; 77 85 }; 78 86
Note:
See TracChangeset
for help on using the changeset viewer.