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