# IFileStream

from pandac.PandaModules import IFileStream

Class : IFileStream
Description : Implements a C++ stream object suitable for reading from files on disk. This is similar to ifstream, but it provides low-level support for Panda's simple-threading implementation (using this interface will block only the current thread, rather than the entire process, on I/O waits).

## Inheritance:

IFileStream: istream
istream: ios
ios: ios_base
ios_base:

## Methods of IFileStream:

IFileStream (Constructor)
close
open

## Methods of istream:

get
seekg
tellg

## Methods of ios:

bad
clear
eof
fail
good

## Constants in ios_base:

beg | (seekdir)
cur | (seekdir)
end | (seekdir)

IFileStream IFileStream::IFileStream(void); Description:

close void IFileStream::close(void); Description:

open void IFileStream::open(char const *filename, ios_base::openmode mode = (ios::in)); Description:

get int istream::get(void); Undocumented function.

seekg void istream::seekg(unsigned long int pos); Undocumented function.

tellg unsigned long int istream::tellg(void); Undocumented function.

bad bool ios::bad(void) const; Undocumented function.

clear void ios::clear(void); Undocumented function.

eof bool ios::eof(void) const; Undocumented function.

fail bool ios::fail(void) const; Undocumented function.

good bool ios::good(void) const; Undocumented function.