#include <IInputStream.h>
Inheritance diagram for IInputStream:
Public Member Functions | |
IInputStream () | |
IInputStream (const char *) | |
virtual | ~IInputStream () |
virtual void | close ()=0 |
ifstream-like interfaces | |
virtual void | open (const char *filename)=0 |
virtual bool | is_open () const =0 |
virtual bool | good () const =0 |
virtual bool | operator! () const =0 |
Not operator. !stream returns true if in bad/failed state. | |
virtual IInputStream & | read (char *s, int n)=0 |
virtual IInputStream & | ignore (int n=1)=0 |
Definition at line 12 of file IInputStream.h.
IInputStream::IInputStream | ( | ) | [inline] |
IInputStream::IInputStream | ( | const char * | ) | [inline] |
virtual IInputStream::~IInputStream | ( | ) | [inline, virtual] |
virtual void IInputStream::close | ( | ) | [pure virtual] |
virtual void IInputStream::open | ( | const char * | filename | ) | [pure virtual] |
Implemented in IFStream, and RRawStream.
virtual bool IInputStream::is_open | ( | ) | const [pure virtual] |
Implemented in IFStream, and RRawStream.
virtual bool IInputStream::good | ( | ) | const [pure virtual] |
Implemented in IFStream, and RRawStream.
virtual bool IInputStream::operator! | ( | ) | const [pure virtual] |
virtual IInputStream& IInputStream::read | ( | char * | s, | |
int | n | |||
) | [pure virtual] |
Implemented in IFStream, and RRawStream.
virtual IInputStream& IInputStream::ignore | ( | int | n = 1 |
) | [pure virtual] |
Implemented in IFStream, and RRawStream.