Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

FS::FdStreamBase Class Reference

#include <FdStream.H>

Inheritance diagram for FS::FdStreamBase:

FS::FdStream FS::IFdStream FS::OFdStream AtomicFile List of all members.

Public Member Functions

 FdStreamBase ()
 FdStreamBase (int fd)
 FdStreamBase (const char *filename, FdStreambuf::stream_mode_t mode, mode_t prot=0644, bool create=true, bool replace=true)
FdStreambufrdbuf ()
void close ()
bool is_open () const
int fd () const
void attach (int fd)
void open (const char *filename, FdStreambuf::stream_mode_t mode, mode_t prot=0644, bool create=true, bool replace=true)

Protected Attributes

FdStreambuf my_fdbuf

Constructor & Destructor Documentation

FS::FdStreamBase::FdStreamBase  )  [inline]
 

Definition at line 106 of file FdStream.H.

References init(), and my_fdbuf.

FS::FdStreamBase::FdStreamBase int  fd  )  [inline]
 

Definition at line 111 of file FdStream.H.

References init(), is_open(), and my_fdbuf.

FS::FdStreamBase::FdStreamBase const char *  filename,
FdStreambuf::stream_mode_t  mode,
mode_t  prot = 0644,
bool  create = true,
bool  replace = true
[inline]
 

Definition at line 121 of file FdStream.H.

References init(), is_open(), and my_fdbuf.


Member Function Documentation

void FS::FdStreamBase::attach int  fd  )  [inline]
 

Definition at line 142 of file FdStream.H.

References FS::FdStreambuf::attach(), and my_fdbuf.

void FS::FdStreamBase::close  )  [inline]
 

Reimplemented in AtomicFile.

Definition at line 135 of file FdStream.H.

References FS::FdStreambuf::close(), and my_fdbuf.

Referenced by VestaLog::checkpointEnd(), AtomicFile::close(), and AtomicFile::~AtomicFile().

int FS::FdStreamBase::fd  )  const [inline]
 

Definition at line 141 of file FdStream.H.

References FS::FdStreambuf::fd(), and my_fdbuf.

Referenced by VestaLog::checkpointEnd(), and random_read_test().

bool FS::FdStreamBase::is_open  )  const [inline]
 

Definition at line 140 of file FdStream.H.

References FS::FdStreambuf::is_open(), and my_fdbuf.

Referenced by FdStreamBase().

void FS::FdStreamBase::open const char *  filename,
FdStreambuf::stream_mode_t  mode,
mode_t  prot = 0644,
bool  create = true,
bool  replace = true
[inline]
 

Reimplemented in FS::IFdStream, FS::OFdStream, and FS::FdStream.

Definition at line 150 of file FdStream.H.

References my_fdbuf, and FS::FdStreambuf::open().

FdStreambuf* FS::FdStreamBase::rdbuf  )  [inline]
 

Definition at line 134 of file FdStream.H.

References my_fdbuf.


Member Data Documentation

FdStreambuf FS::FdStreamBase::my_fdbuf [protected]
 

Definition at line 104 of file FdStream.H.

Referenced by attach(), close(), fd(), FdStreamBase(), is_open(), open(), and rdbuf().


The documentation for this class was generated from the following file:
Generated on Mon May 8 00:49:19 2006 for Vesta by  doxygen 1.4.2