class
#include <eckit/io/StatsHandle.h>
StatsHandle
Base classes
- class DataHandle
- class HandleHolder
Public static functions
Constructors, destructors, conversion operators
- StatsHandle(DataHandle& handle)
- StatsHandle(DataHandle* handle)
- ~StatsHandle()
Public functions
-
void print(std::
ostream& s) const override - auto openForRead() -> Length override
- void openForWrite(const Length&) override
- void openForAppend(const Length&) override
- auto read(void*, long) -> long override
- auto write(const void*, long) -> long override
- void close() override
- void flush() override
- auto estimate() -> Length override
- auto position() -> Offset override
- auto seek(const Offset&) -> Offset override
- auto canSeek() const -> bool override
- void skip(const Length&) override
- void rewind() override
- void restartReadFrom(const Offset&) override
- void restartWriteFrom(const Offset&) override
- auto clone() const -> DataHandle* override
- auto saveInto(DataHandle&, TransferWatcher&) -> Length override
- Save into an other datahandle.
-
auto name() const -> std::
string override - auto compress(bool) -> bool override
- auto merge(DataHandle*) -> bool override
- auto isEmpty() const -> bool override
- auto moveable() const -> bool override
- void toLocal(Stream& s) const override
- auto toLocal() -> DataHandle* override
- void toRemote(Stream& s) const override
- void selectMover(MoverTransferSelection&, bool read) const override
-
auto title() const -> std::
string override -
void collectMetrics(const std::
string& what) const override - auto saveInto(DataHandle&, TransferWatcher& = TransferWatcher::dummy()) -> Length
- Save into an other datahandle.
- auto saveInto(const PathName&, TransferWatcher& = TransferWatcher::dummy()) -> Length
- Save into a file.
- auto size() -> Length virtual
- auto saveInto(const PathName&, TransferWatcher& = TransferWatcher::dummy()) -> Length virtual
- Save into a file.
- auto copyTo(DataHandle&, long bufsize = -1, Length maxsize = -1, TransferWatcher& = TransferWatcher::dummy()) -> Length virtual
- auto openf(const char* mode, bool delete_on_close = false) -> FILE*
- Create a FILE* from this handle.
- auto openf(bool delete_on_close = false) -> FILE*
- auto compare(DataHandle&) -> bool
- Compare bytes.
-
auto metricsTag() const -> std::
string virtual - void hash(MD5& md5) const virtual
- auto doubleBufferOK() const -> bool virtual
- void encode(Stream&) const override
- auto reanimator() const -> const ReanimatorBase& override
-
auto className() const -> std::
string virtual
Function documentation
static const ClassSpec& eckit:: StatsHandle:: classSpec()
#include <eckit/io/DataHandle.h>
Length eckit:: StatsHandle:: size() virtual
#include <eckit/io/DataHandle.h>
Length eckit:: StatsHandle:: saveInto(const PathName&,
TransferWatcher& = TransferWatcher::dummy()) virtual
#include <eckit/io/DataHandle.h>
Save into a file.
Length eckit:: StatsHandle:: copyTo(DataHandle&,
long bufsize = -1,
Length maxsize = -1,
TransferWatcher& = TransferWatcher::dummy()) virtual
#include <eckit/io/DataHandle.h>
Quiet version of saveInto Does not support progess, restart and double buffering
FILE* eckit:: StatsHandle:: openf(const char* mode,
bool delete_on_close = false)
#include <eckit/io/DataHandle.h>
Create a FILE* from this handle.
FILE* eckit:: StatsHandle:: openf(bool delete_on_close = false)
#include <eckit/io/DataHandle.h>
bool eckit:: StatsHandle:: compare(DataHandle&)
#include <eckit/io/DataHandle.h>
Compare bytes.
std:: string eckit:: StatsHandle:: metricsTag() const virtual
#include <eckit/io/DataHandle.h>
void eckit:: StatsHandle:: hash(MD5& md5) const virtual
#include <eckit/io/DataHandle.h>
bool eckit:: StatsHandle:: doubleBufferOK() const virtual
#include <eckit/io/DataHandle.h>
void eckit:: StatsHandle:: encode(Stream&) const override
#include <eckit/io/DataHandle.h>
const ReanimatorBase& eckit:: StatsHandle:: reanimator() const override
#include <eckit/io/DataHandle.h>
std:: string eckit:: StatsHandle:: className() const virtual
#include <eckit/serialisation/Streamable.h>