0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hypertable::FsBroker::Lib::FileDevice::impl Struct Reference
Collaboration diagram for Hypertable::FsBroker::Lib::FileDevice::impl:
Collaboration graph
[legend]

Public Member Functions

 impl (ClientPtr &client, const String &filename, bool accurate_length, BOOST_IOS::openmode mode)
 
 ~impl ()
 
void close ()
 
streamsize read (char_type *dst, size_t amount)
 
size_t bytes_read ()
 
size_t length ()
 
size_t write (const char_type *dst, size_t amount)
 
size_t bytes_written ()
 

Public Attributes

ClientPtr m_client
 
String m_filename
 
int m_fd
 
bool m_open
 
size_t m_bytes_read
 
size_t m_bytes_written
 
size_t m_length
 

Detailed Description

Definition at line 96 of file FileDevice.h.

Constructor & Destructor Documentation

Hypertable::FsBroker::Lib::FileDevice::impl::impl ( ClientPtr client,
const String filename,
bool  accurate_length,
BOOST_IOS::openmode  mode 
)
inline

Definition at line 97 of file FileDevice.h.

Hypertable::FsBroker::Lib::FileDevice::impl::~impl ( )
inline

Definition at line 116 of file FileDevice.h.

Member Function Documentation

size_t Hypertable::FsBroker::Lib::FileDevice::impl::bytes_read ( )
inline

Definition at line 141 of file FileDevice.h.

size_t Hypertable::FsBroker::Lib::FileDevice::impl::bytes_written ( )
inline

Definition at line 156 of file FileDevice.h.

void Hypertable::FsBroker::Lib::FileDevice::impl::close ( )
inline

Definition at line 120 of file FileDevice.h.

size_t Hypertable::FsBroker::Lib::FileDevice::impl::length ( )
inline

Definition at line 145 of file FileDevice.h.

streamsize Hypertable::FsBroker::Lib::FileDevice::impl::read ( char_type dst,
size_t  amount 
)
inline

Definition at line 128 of file FileDevice.h.

size_t Hypertable::FsBroker::Lib::FileDevice::impl::write ( const char_type dst,
size_t  amount 
)
inline

Definition at line 149 of file FileDevice.h.

Member Data Documentation

size_t Hypertable::FsBroker::Lib::FileDevice::impl::m_bytes_read

Definition at line 164 of file FileDevice.h.

size_t Hypertable::FsBroker::Lib::FileDevice::impl::m_bytes_written

Definition at line 165 of file FileDevice.h.

ClientPtr Hypertable::FsBroker::Lib::FileDevice::impl::m_client

Definition at line 160 of file FileDevice.h.

int Hypertable::FsBroker::Lib::FileDevice::impl::m_fd

Definition at line 162 of file FileDevice.h.

String Hypertable::FsBroker::Lib::FileDevice::impl::m_filename

Definition at line 161 of file FileDevice.h.

size_t Hypertable::FsBroker::Lib::FileDevice::impl::m_length

Definition at line 166 of file FileDevice.h.

bool Hypertable::FsBroker::Lib::FileDevice::impl::m_open

Definition at line 163 of file FileDevice.h.


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