#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 |
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 55 of file IOPosBuffer.h.
References m_data.
|
inline |
Return the file offset where I/O is expected to occur.
Definition at line 50 of file IOPosBuffer.h.
References m_offset.
Referenced by LocalCacheFile::prefetch(), XrdFile::prefetch(), RFIOFile::prefetch(), File::prefetch(), LocalCacheFile::readv(), DCacheFile::readv(), and XrdFile::readv().
|
inline |
Return the buffer's size.
Definition at line 60 of file IOPosBuffer.h.
References m_length.
Referenced by LocalCacheFile::prefetch(), XrdFile::prefetch(), RFIOFile::prefetch(), File::prefetch(), LocalCacheFile::readv(), DCacheFile::readv(), and XrdFile::readv().
|
private |
Definition at line 20 of file IOPosBuffer.h.
Referenced by data().
|
private |
Definition at line 21 of file IOPosBuffer.h.
Referenced by size().
|
private |
Definition at line 19 of file IOPosBuffer.h.
Referenced by offset().