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