Public Member Functions | |
| KFile () | |
| int | Create (KStr sFileName, KFILEMODE Mode=KFM_READWRITE) |
| int | Open (KStr sFileName, KFILEMODE Mode=KFM_READ) |
| int | Close () |
| int | Read (unsigned char *pBuffer, unsigned long ByteToRead, unsigned long *pByteRead=NULL) |
| int | Write (unsigned char *pBuffer, unsigned long ByteToWrite, unsigned long *pByteWrite=NULL) |
| int | Rewind () |
| int | Seek (long Distance, KFILESEEK SeekMode) |
| int | Tell (unsigned long *pCurrentPos) |
| int | ReadChar (char *pChar) |
| int | ReadString (KStr &sString) |
| int | WriteString (KStr &sString) |
| int | ReadText (KStr &sString) |
| int | WriteText (KStr &sString) |
| int | GetSize () |
| int | GetLastWriteTime (KFileTime *pFileTime) |
| int | IsEOF () |
| int | Reset () |
| KFILEMODE | GetMode () |
| KStr & | GetsFileName () |
| template<class T> | |
| KFile & | operator>> (T &Data) |
| template<class T> | |
| KFile & | operator<< (T &Data) |
Static Public Member Functions | |
| static char * | GetFileExtension (char *pFileName) |
| static char * | GetFileName (char *pFileName) |
Protected Attributes | |
| void * | m_hFile |
| int | m_bEOF |
| KFILEMODE | m_Mode |
| KStr | m_sFileName |
Definition at line 48 of file File.h.
1.5.1-p1