#include <tobjstrm.h>
Inheritance diagram for ofpstream::
Public Methods | |
ofpstream () | |
ofpstream (const char *name, int omode=ios::out, int prot=filebuf::openprot) | |
ofpstream (int f) | |
ofpstream (int f, char *b, int len) | |
~ofpstream () | |
filebuf* | rdbuf () |
void | open (const char *name, int omode=ios::out, int prot=filebuf::openprot) |
Definition at line 1102 of file tobjstrm.h.
|
Creates a buffered ofpstream object. |
|
Creates a buffered ofpstream object. You can open a file and attach it to the stream by specifying the `name', `omode', and `prot' (protection) arguments. |
|
Creates a buffered ofpstream object. You can open a file and attach it to the stream by specifying the file descriptor, `f'. |
|
Creates a buffered ofpstream 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 ofpstream 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 out (output) with openprot protection. The opened file is attached to this stream. Reimplemented from fpbase. |
|
Returns the current file buffer. Reimplemented from fpbase. |