13 T
read(T&& default_val = {}) {
16 data = std::move(default_val);
47 stream_.read(
reinterpret_cast<char*
>(
data),
static_cast<std::streamsize
>(
size));
48 return static_cast<size_t>(
stream_.gcount());
65 stream_.write(
reinterpret_cast<const char*
>(
data),
static_cast<std::streamsize
>(
size));
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Stream of data that can be used to serialize data structures.
bool write(const T &data)
virtual bool write_raw(const void *, size_t)=0
Stream adapter for standard library output streams.
StdOutputStream(std::ostream &stream)
bool write_raw(const void *data, size_t size) override