#include <Storage.h>
Public Types | |
enum | Relative { SET, CURRENT, END } |
Public Member Functions | |
virtual void | close (void) |
virtual bool | eof (void) const |
virtual void | flush (void) |
virtual IOOffset | position (void) const |
virtual IOOffset | position (IOOffset offset, Relative whence=SET)=0 |
virtual bool | prefetch (const IOPosBuffer *what, IOSize n) |
virtual IOSize | read (void *into, IOSize n, IOOffset pos) |
IOSize | read (IOBuffer into, IOOffset pos) |
virtual IOSize | readv (IOPosBuffer *into, IOSize buffers) |
virtual void | resize (IOOffset size)=0 |
virtual void | rewind (void) |
virtual IOOffset | size (void) const |
Storage (void) | |
virtual IOSize | write (const void *from, IOSize n, IOOffset pos) |
IOSize | write (IOBuffer from, IOOffset pos) |
virtual IOSize | writev (const IOPosBuffer *from, IOSize buffers) |
virtual | ~Storage (void) |
Public Member Functions inherited from IOInput | |
int | read (void) |
IOSize | read (IOBuffer into) |
virtual IOSize | read (void *into, IOSize n)=0 |
virtual IOSize | readv (IOBuffer *into, IOSize buffers) |
IOSize | xread (IOBuffer into) |
IOSize | xread (void *into, IOSize n) |
IOSize | xreadv (IOBuffer *into, IOSize buffers) |
virtual | ~IOInput (void) |
Destruct the stream. A no-op. More... | |
Public Member Functions inherited from IOOutput | |
IOSize | write (unsigned char byte) |
IOSize | write (IOBuffer from) |
virtual IOSize | write (const void *from, IOSize n)=0 |
virtual IOSize | writev (const IOBuffer *from, IOSize buffers) |
IOSize | xwrite (const void *from, IOSize n) |
IOSize | xwrite (IOBuffer from) |
IOSize | xwritev (const IOBuffer *from, IOSize buffers) |
virtual | ~IOOutput (void) |
Destruct the stream. A no-op. More... | |
Private Member Functions | |
Storage & | operator= (const Storage &) |
Storage (const Storage &) | |
enum Storage::Relative |
Enumerator | |
---|---|
SET | |
CURRENT | |
END |
Storage::Storage | ( | void | ) |
Definition at line 5 of file Storage.cc.
|
virtual |
Definition at line 8 of file Storage.cc.
|
private |
|
virtual |
Reimplemented in File, XrdFile, RFIOFile, DCacheFile, LStoreFile, StorageAccountProxy, LocalCacheFile, and RemoteFile.
Definition at line 128 of file Storage.cc.
Referenced by LocalCacheFile::cache(), LocalCacheFile::close(), StorageAccountProxy::close(), lumiQTWidget.ApplicationWindow::fileQuit(), Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), Vispa.Gui.FindDialog.FindDialog::keyPressEvent(), TStorageFactoryFile::SysClose(), and TStorageFactoryFile::SysOpen().
|
virtual |
|
virtual |
Reimplemented in File, StorageAccountProxy, and LocalCacheFile.
Definition at line 124 of file Storage.cc.
Referenced by StorageAccountProxy::flush(), and TStorageFactoryFile::SysSync().
|
virtual |
Definition at line 95 of file Storage.cc.
References CURRENT, and position().
Referenced by eof(), position(), StorageAccountProxy::position(), read(), lhef::StorageInputStream::readBytes(), readv(), RFIOFile::reopen(), rewind(), size(), lhef::StorageInputStream::StorageInputStream(), TStorageFactoryFile::SysSeek(), and write().
Implemented in File, XrdFile, RFIOFile, DCacheFile, LStoreFile, StorageAccountProxy, and LocalCacheFile.
|
virtual |
Reimplemented in File, XrdFile, RFIOFile, StorageAccountProxy, and LocalCacheFile.
Definition at line 119 of file Storage.cc.
Referenced by StorageAccountProxy::prefetch(), TStorageFactoryFile::ReadBufferAsync(), and TStorageFactoryFile::ReadBuffers().
Reimplemented in File, XrdFile, StorageAccountProxy, and LocalCacheFile.
Definition at line 17 of file Storage.cc.
References n, position(), and IOInput::read().
Referenced by LocalCacheFile::cache(), PixelSLinkDataInputSource::PixelSLinkDataInputSource(), PixelSLinkDataInputSource::produce(), StorageAccountProxy::read(), lhef::StorageInputStream::readBytes(), and lhef::StorageInputStream::StorageInputStream().
Definition at line 13 of file Storage.cc.
References IOBuffer::data(), pos, IOInput::read(), and IOBuffer::size().
|
virtual |
Reimplemented in XrdFile, RFIOFile, DCacheFile, StorageAccountProxy, and LocalCacheFile.
Definition at line 31 of file Storage.cc.
References data, i, n, evf::evtn::offset(), position(), IOInput::read(), size(), and pileupDistInMC::total.
Referenced by TStorageFactoryFile::ReadBuffersSync(), LocalCacheFile::readv(), StorageAccountProxy::readv(), and RFIOFile::readv().
|
pure virtual |
Implemented in File, XrdFile, RFIOFile, DCacheFile, LStoreFile, StorageAccountProxy, and LocalCacheFile.
Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), StorageAccountProxy::resize(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
virtual |
|
virtual |
Reimplemented in File.
Definition at line 102 of file Storage.cc.
References END, and position().
Referenced by eof(), StorageAccountProxy::prefetch(), LocalCacheFile::readv(), readv(), XrdFile::readv(), TStorageFactoryFile::SysStat(), and writev().
Reimplemented in File, XrdFile, StorageAccountProxy, and LocalCacheFile.
Definition at line 59 of file Storage.cc.
References n, and position().
Referenced by write(), StorageAccountProxy::write(), and writev().
Definition at line 55 of file Storage.cc.
References IOBuffer::data(), pos, IOBuffer::size(), and write().
|
virtual |
Reimplemented in StorageAccountProxy, and LocalCacheFile.
Definition at line 74 of file Storage.cc.
References data, i, n, evf::evtn::offset(), size(), pileupDistInMC::total, and write().
Referenced by StorageAccountProxy::writev().