Encapsulation of file I/O operations
Err | File::AppendTheRestTo (File *dest, Int blockSize) Kratky_komentar_s_teckou_na_konci |
Int | File::CheckError () Checks the error state of "file" |
Err | File::Close () Closes the file |
Err | File::CopyStartToPos (File *dest, Long pos, Int blockSize) Kratky_komentar_s_teckou_na_konci |
Err | File::CopyTheRestTo (File *dest, Int blockSize) Kratky_komentar_s_teckou_na_konci |
Err | File::CopyTo (File *dest, Size pos, Int blockSize) Kratky_komentar_s_teckou_na_konci |
Int | File::Eof () Checks for End Of File |
Int | File::Exists () Checks if the file already exists |
File::File (const Char *aName, const Char *aMode, LogFile *aLogFile) Constructor for File | |
Int | File::GetError () Returns the error code of the last file operation |
Char* | File::GetName () Return the name of this file |
Size | File::GetSize () Return the size of this file, doesn't move the file pointer |
Int | File::IsOpen () Checks if the file is open |
Err | File::Open () Tries to open a file specified by its filename in specified mode |
Int | File::ReadBuffer (Void *buffer, size_t number) Reads "number" of bytes from the "file" into the "buffer" |
Int | File::ReadInt (Int *value) Reads an integer from the "file" into "value" |
Int | File::ReadLong (Long *value) Reads a long from the "file" into "value" |
Long | File::ReadLongBuffer (Void *buffer, Long size) Read "size" of bytes from the "file" into the "buffer" |
Err | File::Remove () Removes the file |
Err | File::Rename (Char *newFileName) Renames the file |
Err | File::Seek (Long offset, Int whence) Moves the file pointer by calling fseek() |
Err | File::SeekCurrent (Long offset) Moves the file pointer realtively to the current position |
Err | File::SeekEnd (Long offset) Moves the file pointer realtively to the end of the file |
Err | File::SeekStart (Long offset) Moves the file pointer realtively to the beginnig of the file |
Long | File::Tell () Returns the position of the file pionter |
Int | File::WriteBuffer (Void *buffer, size_t number) Writes "number" of bytes from the "buffer" into the "file" |
Int | File::WriteChar (Char aChar) Writes a char to the "file" |
Int | File::WriteInt (Int value) Writes an integer to the "file" |
Int | File::WriteLong (Long value) Writes a long "value" into the "file" |
Long | File::WriteLongBuffer (Void *buffer, Long size) Writes "size" of bytes from the "buffer" into the "file" |
Int | File::WriteString (Char *aString) Writes a string to the "file" |
File::~File () Destructor for File |
methods
|
attributes | |
methods |
Encapsulation of file I/O operations. Description: This file contains the File class which encapsulates disk I/O operations. Changing it could enable compiling the ES servers for other file systems.
alphabetic index hierarchy of classes
generated by doc++