#include <InStreams.h>
Inheritance diagram for InFile:
Public Member Functions | |
InFile () | |
Default constructor. | |
~InFile () | |
Destructor. | |
virtual bool | exists () const |
The function states whether the file actually exists. | |
virtual bool | getEof () const |
The function states whether the end of the file has been reached. | |
Protected Member Functions | |
void | open (const char *name) |
opens the file. | |
virtual void | readFromStream (void *p, int size) |
The function reads a number of bytes from the file. | |
Private Attributes | |
File * | stream |
Object representing the file. |
Definition at line 642 of file InStreams.h.
|
Default constructor.
Definition at line 649 of file InStreams.h. |
|
Destructor.
Definition at line 652 of file InStreams.h. |
|
Here is the call graph for this function:
|
The function states whether the end of the file has been reached.
Implements PhysicalInStream. Definition at line 665 of file InStreams.h. References File::eof(). Referenced by GTXabsl2Profiler::importLogFile(), and IniFile::load(). |
Here is the call graph for this function:
|
opens the file.
Definition at line 674 of file InStreams.h. Referenced by InBinaryFile::InBinaryFile(), InConfigFile::InConfigFile(), and InTextFile::InTextFile(). |
|
The function reads a number of bytes from the file.
Implements PhysicalInStream. Definition at line 684 of file InStreams.h. References File::read(). |
Here is the call graph for this function:
|
Object representing the file.
Definition at line 645 of file InStreams.h. |