eckit::CommandStream class

Base classes

class Stream

Public static functions

static void dump(std::ostream&, const char*, size_t)

Constructors, destructors, conversion operators

CommandStream(const std::string& name, const char* mode)
~CommandStream()

Public functions

auto read(void*, long) -> long override
auto write(const void*, long) -> long override
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 next() -> bool
auto endObjectFound() -> 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 override

Function documentation

static void eckit::CommandStream::dump(std::ostream&, const char*, size_t)

Stream& eckit::CommandStream::operator<<(char)

Stream& eckit::CommandStream::operator<<(unsigned char)

Stream& eckit::CommandStream::operator<<(bool)

Stream& eckit::CommandStream::operator<<(int)

Stream& eckit::CommandStream::operator<<(unsigned int)

Stream& eckit::CommandStream::operator<<(short)

Stream& eckit::CommandStream::operator<<(unsigned short)

Stream& eckit::CommandStream::operator<<(long)

Stream& eckit::CommandStream::operator<<(unsigned long)

Stream& eckit::CommandStream::operator<<(long long)

Stream& eckit::CommandStream::operator<<(unsigned long long)

Stream& eckit::CommandStream::operator<<(float)

Stream& eckit::CommandStream::operator<<(double)

Stream& eckit::CommandStream::operator<<(const std::string&)

Stream& eckit::CommandStream::operator<<(const char*)

Stream& eckit::CommandStream::operator<<(const std::exception&)

Stream& eckit::CommandStream::operator<<(const Buffer&)

Stream& eckit::CommandStream::operator>>(char&)

Stream& eckit::CommandStream::operator>>(unsigned char&)

Stream& eckit::CommandStream::operator>>(int&)

Stream& eckit::CommandStream::operator>>(unsigned int&)

Stream& eckit::CommandStream::operator>>(bool&)

Stream& eckit::CommandStream::operator>>(long&)

Stream& eckit::CommandStream::operator>>(unsigned long&)

Stream& eckit::CommandStream::operator>>(long long&)

Stream& eckit::CommandStream::operator>>(unsigned long long&)

Stream& eckit::CommandStream::operator>>(short&)

Stream& eckit::CommandStream::operator>>(unsigned short&)

Stream& eckit::CommandStream::operator>>(float&)

Stream& eckit::CommandStream::operator>>(double&)

Stream& eckit::CommandStream::operator>>(std::string&)

Stream& eckit::CommandStream::operator>>(Buffer&)

bool eckit::CommandStream::next(std::string&)

bool eckit::CommandStream::next(bool&)

bool eckit::CommandStream::next(int&)

bool eckit::CommandStream::next()

bool eckit::CommandStream::endObjectFound()

void eckit::CommandStream::skipEndObject()

void eckit::CommandStream::startObject()

void eckit::CommandStream::endObject()

void eckit::CommandStream::writeBlob(const void*, size_t)

void eckit::CommandStream::readBlob(void*, size_t)

void eckit::CommandStream::writeLargeBlob(const void*, size_t)

void eckit::CommandStream::readLargeBlob(void*, size_t)

void eckit::CommandStream::rewind() virtual

void eckit::CommandStream::closeOutput() virtual

void eckit::CommandStream::closeInput() virtual

long long eckit::CommandStream::bytesWritten()

void eckit::CommandStream::resetBytesWritten()

void eckit::CommandStream::startRecord(unsigned long)

void eckit::CommandStream::endRecord()

bool eckit::CommandStream::nextRecord(unsigned long&, bool sync = false)

void eckit::CommandStream::lock()

void eckit::CommandStream::unlock()