util::stream::FileBuffer Class Reference

#include <io.hh>

Collaboration diagram for util::stream::FileBuffer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FileBuffer (int fd)
PWriteAndRecycle Sink () const
PRead Source (bool discard=false)
uint64_t Size () const


Detailed Description

Definition at line 64 of file io.hh.


Constructor & Destructor Documentation

util::stream::FileBuffer::FileBuffer ( int  fd  )  [inline, explicit]

Definition at line 66 of file io.hh.


Member Function Documentation

PWriteAndRecycle util::stream::FileBuffer::Sink (  )  const [inline]

Definition at line 68 of file io.hh.

References util::scoped_fd::get(), and util::SeekOrThrow().

Here is the call graph for this function:

uint64_t util::stream::FileBuffer::Size (  )  const [inline]

Definition at line 77 of file io.hh.

References util::scoped_fd::get(), and util::SizeOrThrow().

Here is the call graph for this function:

PRead util::stream::FileBuffer::Source ( bool  discard = false  )  [inline]

Definition at line 73 of file io.hh.

References util::scoped_fd::get(), and util::scoped_fd::release().

Here is the call graph for this function:


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

Generated on Thu Jul 6 00:34:54 2017 for Moses by  doxygen 1.5.9