#include <IOPosBuffer.h>
Public Member Functions | |
void * | data (void) const |
IOPosBuffer (void) | |
IOPosBuffer (IOOffset offset, void *data, IOSize length) | |
IOPosBuffer (IOOffset offset, const void *data, IOSize length) | |
IOOffset | offset (void) const |
void | set_data (void *new_buffer) |
void | set_offset (IOOffset new_offset) |
void | set_size (IOSize new_size) |
IOSize | size (void) const |
Private Attributes | |
void * | m_data |
IOSize | m_length |
IOOffset | m_offset |
Buffer for I/O operations.
Definition at line 7 of file IOPosBuffer.h.
|
inline |
|
inline |
Return a pointer to the beginning of the buffer's data area.
Definition at line 42 of file IOPosBuffer.h.
References m_data.
Referenced by consumeChunkBack(), consumeChunkFront(), DavixFile::readv(), XrdFile::readv(), and ReadRepacker::unpack().
|
inline |
Return the file offset where I/O is expected to occur.
Definition at line 39 of file IOPosBuffer.h.
References m_offset.
Referenced by consumeChunkBack(), consumeChunkFront(), ReadRepacker::packInternal(), LocalCacheFile::prefetch(), File::prefetch(), LocalCacheFile::readv(), DavixFile::readv(), DCacheFile::readv(), XrdFile::readv(), and XrdAdaptor::RequestManager::splitClientRequest().
|
inline |
Update the buffer's data area
Definition at line 51 of file IOPosBuffer.h.
References m_data.
Referenced by consumeChunkBack(), consumeChunkFront(), ReadRepacker::packInternal(), and XrdFile::readv().
|
inline |
Update the file offset
Definition at line 48 of file IOPosBuffer.h.
References m_offset.
Referenced by consumeChunkBack(), consumeChunkFront(), ReadRepacker::packInternal(), and XrdFile::readv().
|
inline |
Update the buffer's size
Definition at line 54 of file IOPosBuffer.h.
References m_length.
Referenced by consumeChunkBack(), consumeChunkFront(), ReadRepacker::packInternal(), and XrdFile::readv().
|
inline |
Return the buffer's size.
Definition at line 45 of file IOPosBuffer.h.
References m_length.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), consumeChunkBack(), consumeChunkFront(), ReadRepacker::packInternal(), LocalCacheFile::prefetch(), File::prefetch(), LocalCacheFile::readv(), DavixFile::readv(), DCacheFile::readv(), and XrdFile::readv().
|
private |
Definition at line 23 of file IOPosBuffer.h.
Referenced by data(), and set_data().
|
private |
Definition at line 24 of file IOPosBuffer.h.
Referenced by set_size(), and size().
|
private |
Definition at line 22 of file IOPosBuffer.h.
Referenced by offset(), and set_offset().