![]() |
SASSY
0.0
Software Architecture Support System
|
A file descriptor input stream. More...
#include <sos/fdstream.h>
Public Member Functions | |
| fdistream (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 | |
| fdinbuf | mBuf |
| Our input file descriptor stream buffer. | |
Friends | |
| class | fdinbuf |
A file descriptor input stream.
| fdistream::fdistream | ( | int | fd, |
| bool | isCloseNeeded = false |
||
| ) |
constructor
Constructor which accepts the file descriptor to read from
| fd | the file descriptor to read from |
| isCloseNeeded | a flag indicating whether the file descriptor is closed on destruction. |
1.8.5