class
#include <eckit/serialisation/Stream.h>
Stream
Derived classes
- class CommandStream
- class FileStream
- Stream to serialise to FILE*.
- class FstreamStream
- class HandleStream
- class IfstreamStream
- class MemoryStream
- class PipeStream
- class ResizableMemoryStream
- class Message
- class Connector
- class TCPStreamBase
Public static functions
-
static void dump(std::
ostream&, const char*, size_t)
Constructors, destructors, conversion operators
- ~Stream() virtual
Public functions
- auto operator<<(char) -> Stream&
- auto operator<<(unsigned char) -> Stream&
- auto operator<<(bool) -> Stream&
- auto operator<<(int) -> Stream&
- auto operator<<(unsigned int) -> Stream&
- auto operator<<(short) -> Stream&
- auto operator<<(unsigned short) -> Stream&
- auto operator<<(long) -> Stream&
- auto operator<<(unsigned long) -> Stream&
- auto operator<<(long long) -> Stream&
- auto operator<<(unsigned long long) -> Stream&
- auto operator<<(float) -> Stream&
- auto operator<<(double) -> Stream&
-
auto operator<<(const std::
string&) -> Stream& - auto operator<<(const char*) -> Stream&
-
auto operator<<(const std::
exception&) -> Stream& - auto operator<<(const Buffer&) -> Stream&
- auto operator>>(char&) -> Stream&
- auto operator>>(unsigned char&) -> Stream&
- auto operator>>(int&) -> Stream&
- auto operator>>(unsigned int&) -> Stream&
- auto operator>>(bool&) -> Stream&
- auto operator>>(long&) -> Stream&
- auto operator>>(unsigned long&) -> Stream&
- auto operator>>(long long&) -> Stream&
- auto operator>>(unsigned long long&) -> Stream&
- auto operator>>(short&) -> Stream&
- auto operator>>(unsigned short&) -> Stream&
- auto operator>>(float&) -> Stream&
- auto operator>>(double&) -> Stream&
-
auto operator>>(std::
string&) -> Stream& - auto operator>>(Buffer&) -> Stream&
-
auto operator>>(std::
map<std:: string, std:: string>&) -> Stream& -
auto next(std::
string&) -> bool - auto next(bool&) -> bool
- auto next(int&) -> bool
- auto endObjectFound() -> bool
- auto next() -> bool
- void skipEndObject()
- void startObject()
- void endObject()
- void writeBlob(const void*, size_t)
- void readBlob(void*, size_t)
- void writeLargeBlob(const void*, size_t)
- void readLargeBlob(void*, size_t)
- void rewind() virtual
- void closeOutput() virtual
- void closeInput() virtual
- auto bytesWritten() -> long long
- void resetBytesWritten()
- void startRecord(unsigned long)
- void endRecord()
- auto nextRecord(unsigned long&, bool sync = false) -> bool
- void lock()
- void unlock()
Private functions
-
auto name() const -> std::
string pure virtual -
void print(std::
ostream& s) const virtual - auto write(const void*, long) -> long pure virtual
- auto read(void*, long) -> long pure virtual
Friends
-
auto operator<<(std::
ostream&, tag) -> std:: ostream& -
auto operator<<(std::
ostream& out, const Stream& s) -> std:: ostream&