#include <IOBuffer.h>
Public Member Functions | |
void * | data (void) const |
IOBuffer (void) | |
IOBuffer (void *data, IOSize length) | |
IOBuffer (const void *data, IOSize length) | |
IOSize | size (void) const |
Private Attributes | |
void * | m_data |
IOSize | m_length |
Buffer for I/O operations.
Definition at line 7 of file IOBuffer.h.
IOBuffer::IOBuffer | ( | void | ) | [inline] |
Construct a null I/O buffer.
Definition at line 24 of file IOBuffer.h.
IOBuffer::IOBuffer | ( | void * | data, |
IOSize | length | ||
) | [inline] |
Construct a I/O buffer for reading.
Definition at line 31 of file IOBuffer.h.
IOBuffer::IOBuffer | ( | const void * | data, |
IOSize | length | ||
) | [inline] |
Construct a I/O buffer for writing.
Definition at line 38 of file IOBuffer.h.
void * IOBuffer::data | ( | void | ) | const [inline] |
Return a pointer to the beginning of the buffer's data area.
Definition at line 45 of file IOBuffer.h.
References m_data.
Referenced by IOInput::read(), Storage::read(), Storage::write(), IOOutput::write(), IOInput::xread(), and IOOutput::xwrite().
{ return m_data; }
IOSize IOBuffer::size | ( | void | ) | const [inline] |
Return the buffer's size.
Definition at line 50 of file IOBuffer.h.
References m_length.
Referenced by IOInput::read(), Storage::read(), IOChannel::readv(), DCacheFile::readv(), XrdFile::readv(), Storage::write(), IOOutput::write(), IOChannel::writev(), IOInput::xread(), and IOOutput::xwrite().
{ return m_length; }
void* IOBuffer::m_data [private] |
Definition at line 18 of file IOBuffer.h.
Referenced by data().
IOSize IOBuffer::m_length [private] |
Definition at line 19 of file IOBuffer.h.
Referenced by size().