VICI
0.11.815
Visual Chart Interpreter
|
A file descriptor output stream. More...
#include <sos/fdstream.h>
Public Member Functions | |
fdostream (int fd, bool isCloseNeeded=false) | |
constructor More... | |
void | close () |
close the file descriptor | |
Static Public Attributes | |
static bool | CLOSE_NEEDED = true |
Flag to indicate file descriptor should be closed. | |
static bool | CLOSE_NOT_NEEDED = false |
Flag to indicate file descriptor should not be closed. | |
Protected Attributes | |
fdoutbuf | mBuf |
Our output file descriptor stream buffer. | |
Friends | |
class | fdoutbuf |
A file descriptor output stream.
fdostream::fdostream | ( | int | fd, |
bool | isCloseNeeded = false |
||
) |
constructor
Constructor which accepts the file descriptor to write to and a flag indicating whether the file descriptor is closed on destruction.
fd | the file descriptor to write to |
isCloseNeeded | if true close on destruction |