eckit::ResizableMemoryStream class

Base classes

class Stream

Public static functions

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

Constructors, destructors, conversion operators

ResizableMemoryStream(Buffer&)
~ResizableMemoryStream()

Public functions

auto read(void*, long) -> long override
auto write(const void*, long) -> long override
void rewind() override
auto name() const -> std::string override
auto position() const -> size_t
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 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()

Function documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Stream& eckit::ResizableMemoryStream::operator>>(std::map<std::string, std::string>&)

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

bool eckit::ResizableMemoryStream::next(bool&)

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

bool eckit::ResizableMemoryStream::next()

bool eckit::ResizableMemoryStream::endObjectFound()

void eckit::ResizableMemoryStream::skipEndObject()

void eckit::ResizableMemoryStream::startObject()

void eckit::ResizableMemoryStream::endObject()

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

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

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

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

void eckit::ResizableMemoryStream::closeOutput() virtual

void eckit::ResizableMemoryStream::closeInput() virtual

long long eckit::ResizableMemoryStream::bytesWritten()

void eckit::ResizableMemoryStream::resetBytesWritten()

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

void eckit::ResizableMemoryStream::endRecord()

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

void eckit::ResizableMemoryStream::lock()

void eckit::ResizableMemoryStream::unlock()