#include <fdstream.h>
- Note
- In this an all other constructors, we initialize the stream with a 0-pointer to a stream buffer first and then set the pointer through a call to rdbuf() in the constructor body. This is necessary because the stream buffer sb is constructed after the stream object, which is inherited from the base class. This causes problems at least when using the PGI compiler.
References sb.
ofdstream::ofdstream |
( |
const char * |
s, |
|
|
std::ios_base::openmode |
mode = std::ios_base::out |
|
) |
| |
|
inlineexplicit |
ofdstream::ofdstream |
( |
int |
fd | ) |
|
|
inlineexplicit |
void ofdstream::close |
( |
| ) |
|
bool ofdstream::is_open |
( |
| ) |
|
|
inline |
void ofdstream::open |
( |
const char * |
s, |
|
|
std::ios_base::openmode |
mode = std::ios_base::out |
|
) |
| |
|
inline |
fdbuf* ofdstream::rdbuf |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: