class
#include <eckit/io/EmptyHandle.h>
EmptyHandle
Base classes
- class DataHandle
Public static functions
Constructors, destructors, conversion operators
- EmptyHandle()
- EmptyHandle(Stream& s)
- ~EmptyHandle()
Public functions
- 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 n) -> long override
- void close() override
- void flush() override
- auto seek(const Offset&) -> Offset override
- auto position() -> Offset override
- void rewind() override
-
void print(std::
ostream& s) const override - auto isEmpty() const -> bool override
- auto canSeek() const -> bool override
- void encode(Stream& s) const override
- auto reanimator() const -> const ReanimatorBase& override
- auto size() -> Length virtual
- auto estimate() -> Length virtual
- void skip(const Length&) virtual
- void restartReadFrom(const Offset&) virtual
- void restartWriteFrom(const Offset&) virtual
- auto clone() const -> DataHandle* virtual
- auto saveInto(DataHandle&, TransferWatcher& = TransferWatcher::dummy()) -> Length virtual
- Save into an other datahandle.
- 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 name() const -> std::
string 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 compress(bool = false) -> bool virtual
- auto merge(DataHandle*) -> bool virtual
- auto moveable() const -> bool virtual
- void toLocal(Stream& s) const virtual
- auto toLocal() -> DataHandle* virtual
- void toRemote(Stream& s) const virtual
- void selectMover(MoverTransferSelection&, bool read) const virtual
-
auto title() const -> std::
string virtual -
auto metricsTag() const -> std::
string virtual -
void collectMetrics(const std::
string& what) const virtual - void hash(MD5& md5) const virtual
- auto doubleBufferOK() const -> bool virtual
-
auto className() const -> std::
string virtual
Function documentation
Length eckit:: EmptyHandle:: size() virtual
#include <eckit/io/DataHandle.h>
Length eckit:: EmptyHandle:: estimate() virtual
#include <eckit/io/DataHandle.h>
void eckit:: EmptyHandle:: skip(const Length&) virtual
#include <eckit/io/DataHandle.h>
void eckit:: EmptyHandle:: restartReadFrom(const Offset&) virtual
#include <eckit/io/DataHandle.h>
void eckit:: EmptyHandle:: restartWriteFrom(const Offset&) virtual
#include <eckit/io/DataHandle.h>
DataHandle* eckit:: EmptyHandle:: clone() const virtual
#include <eckit/io/DataHandle.h>
Length eckit:: EmptyHandle:: saveInto(DataHandle&,
TransferWatcher& = TransferWatcher::dummy()) virtual
#include <eckit/io/DataHandle.h>
Save into an other datahandle.
Length eckit:: EmptyHandle:: saveInto(const PathName&,
TransferWatcher& = TransferWatcher::dummy()) virtual
#include <eckit/io/DataHandle.h>
Save into a file.
Length eckit:: EmptyHandle:: 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
std:: string eckit:: EmptyHandle:: name() const virtual
#include <eckit/io/DataHandle.h>
FILE* eckit:: EmptyHandle:: openf(const char* mode,
bool delete_on_close = false)
#include <eckit/io/DataHandle.h>
Create a FILE* from this handle.
FILE* eckit:: EmptyHandle:: openf(bool delete_on_close = false)
#include <eckit/io/DataHandle.h>
bool eckit:: EmptyHandle:: compare(DataHandle&)
#include <eckit/io/DataHandle.h>
Compare bytes.
bool eckit:: EmptyHandle:: compress(bool = false) virtual
#include <eckit/io/DataHandle.h>
bool eckit:: EmptyHandle:: merge(DataHandle*) virtual
#include <eckit/io/DataHandle.h>
bool eckit:: EmptyHandle:: moveable() const virtual
#include <eckit/io/DataHandle.h>
void eckit:: EmptyHandle:: toLocal(Stream& s) const virtual
#include <eckit/io/DataHandle.h>
DataHandle* eckit:: EmptyHandle:: toLocal() virtual
#include <eckit/io/DataHandle.h>
void eckit:: EmptyHandle:: toRemote(Stream& s) const virtual
#include <eckit/io/DataHandle.h>
void eckit:: EmptyHandle:: selectMover(MoverTransferSelection&,
bool read) const virtual
#include <eckit/io/DataHandle.h>
std:: string eckit:: EmptyHandle:: title() const virtual
#include <eckit/io/DataHandle.h>
std:: string eckit:: EmptyHandle:: metricsTag() const virtual
#include <eckit/io/DataHandle.h>
void eckit:: EmptyHandle:: collectMetrics(const std:: string& what) const virtual
#include <eckit/io/DataHandle.h>
void eckit:: EmptyHandle:: hash(MD5& md5) const virtual
#include <eckit/io/DataHandle.h>
bool eckit:: EmptyHandle:: doubleBufferOK() const virtual
#include <eckit/io/DataHandle.h>
std:: string eckit:: EmptyHandle:: className() const virtual
#include <eckit/serialisation/Streamable.h>