VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
VICI::cfi::fdistream Class Reference

A file descriptor input stream. More...

#include <sos/fdstream.h>

Inheritance diagram for VICI::cfi::fdistream:

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
 

Detailed Description

A file descriptor input stream.

Constructor & Destructor Documentation

fdistream::fdistream ( int  fd,
bool  isCloseNeeded = false 
)

constructor

Constructor which accepts the file descriptor to read from

Parameters
fdthe file descriptor to read from
isCloseNeededa flag indicating whether the file descriptor is closed on destruction.

The documentation for this class was generated from the following files: