#include <tobjstrm.h>
Inheritance diagram for ifpstream::
Public Methods | |
ifpstream () | |
ifpstream (const char *name, int omode=ios::in, int prot=filebuf::openprot) | |
ifpstream (int f) | |
ifpstream (int f, char *b, int len) | |
~ifpstream () | |
filebuf* | rdbuf () |
void | open (const char *name, int omode=ios::in, int prot=filebuf::openprot) |
Definition at line 1036 of file tobjstrm.h.
|
Creates a buffered ifpstream object. |
|
Creates a buffered ifpstream object. You can open a file and attach it to the stream by specifying the `name', `omode', and `prot' (protection) arguments. |
|
Creates a buffered ifpstream object. You can open a file and attach it to the stream by specifying the file descriptor, `f'. |
|
Creates a buffered ifpstream object. You can set the size and initial contents of the buffer with the `len' and `b' arguments. You can open a file and attach it to the stream by specifying the file descriptor, `f'. |
|
Destroys the ifpstream object. |
|
Opens the the named file in the given mode (app, ate, in, out, binary, trunc, nocreate, or noreplace) and protection. The default mode is in (input) with openprot protection. The opened file is attached to this stream. Reimplemented from fpbase. |
|
Returns a pointer to the current file buffer. Reimplemented from fpbase. |