#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, DCacheFile, RFIOFile, LStoreFile, StorageAccountProxy, DavixFile, LocalCacheFile, and RemoteFile.
Definition at line 128 of file Storage.cc.
Referenced by lumiQTWidget.ApplicationWindow::fileQuit(), esMonitoring.AsyncLineReaderMixin::handle_close(), esMonitoring.FDJsonServer::handle_close(), Vispa.Gui.BoxContentDialog.BoxContentDialog::keyPressEvent(), and Vispa.Gui.FindDialog.FindDialog::keyPressEvent().
|
virtual |
|
virtual |
Reimplemented in File, StorageAccountProxy, and LocalCacheFile.
Definition at line 124 of file Storage.cc.
|
virtual |
Definition at line 95 of file Storage.cc.
References CURRENT, and position().
Referenced by eof(), position(), read(), lhef::StorageInputStream::readBytes(), readv(), RFIOFile::reopen(), rewind(), size(), lhef::StorageInputStream::StorageInputStream(), and write().
Implemented in File, XrdFile, DCacheFile, RFIOFile, LStoreFile, StorageAccountProxy, DavixFile, and LocalCacheFile.
|
virtual |
Reimplemented in XrdFile, File, StorageAccountProxy, and LocalCacheFile.
Definition at line 119 of file Storage.cc.
Referenced by RFIOFile::readv().
Reimplemented in XrdFile, File, StorageAccountProxy, and LocalCacheFile.
Definition at line 17 of file Storage.cc.
References gen::n, position(), and IOInput::read().
Referenced by PixelSLinkDataInputSource::PixelSLinkDataInputSource(), lhef::StorageInputStream::readBytes(), PixelSLinkDataInputSource::setRunAndEventInfo(), and lhef::StorageInputStream::StorageInputStream().
Definition at line 13 of file Storage.cc.
References IOBuffer::data(), IOInput::read(), and IOBuffer::size().
|
virtual |
Reimplemented in XrdFile, RFIOFile, DCacheFile, DavixFile, StorageAccountProxy, and LocalCacheFile.
Definition at line 31 of file Storage.cc.
References data, i, gen::n, hltrates_dqm_sourceclient-live_cfg::offset, position(), IOInput::read(), size(), and pileupDistInMC::total.
Referenced by RFIOFile::readv().
|
pure virtual |
Implemented in File, XrdFile, DCacheFile, RFIOFile, LStoreFile, StorageAccountProxy, DavixFile, and LocalCacheFile.
Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), 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 ntuple._Collection::__iter__(), ntuple._Collection::__len__(), eof(), StorageAccountProxy::prefetch(), LocalCacheFile::readv(), readv(), XrdFile::readv(), and writev().
Reimplemented in XrdFile, File, StorageAccountProxy, and LocalCacheFile.
Definition at line 59 of file Storage.cc.
References gen::n, and position().
Referenced by write(), and writev().
Definition at line 55 of file Storage.cc.
References IOBuffer::data(), IOBuffer::size(), and write().
|
virtual |
Reimplemented in StorageAccountProxy, and LocalCacheFile.
Definition at line 74 of file Storage.cc.
References data, i, gen::n, hltrates_dqm_sourceclient-live_cfg::offset, size(), pileupDistInMC::total, and write().