1#ifndef art__paperback__carousel__stream_hxx_
2#define art__paperback__carousel__stream_hxx_
4#include <art/paperback/types.hxx>
5#include <art/paperback/forward.hxx>
7#include <art/paperback/carousel/object-model.hxx>
51 std::basic_streambuf<char>*
96 unique_ptr<Internal> _internal;
Represents a COS dictionary.
Definition dictionary.hxx:17
Base class for value types.
Definition object-model.hxx:295
Represents a COS-file object.
Definition object.hxx:16
Dictionary as_dictionary() const
Returns the stream metadata as a dictionary.
Definition stream.cxx:62
void clear()
Clear stream.
Definition stream.cxx:51
iostream & operator*()
Access data stream.
Definition stream.cxx:112
iostream * operator->()
Access data stream.
Definition stream.cxx:94
Stream()
Constructor.
Definition stream.cxx:27
std::basic_streambuf< char > * rdbuf() const
Access buffer.
Definition stream.cxx:86
~Stream() noexcept
Destructor.
Definition stream.cxx:46
Stream & operator=(Stream const &)
Assignment.
Definition stream.cxx:130
string str() const
Access the buffer as a string.
Definition stream.cxx:79
bool operator==(Stream const &) const
Comparison.
Definition stream.cxx:152
bool operator!=(Stream const &) const
Comparison.
Definition stream.cxx:159
COS file format implementation namespace.
Definition array.cxx:6
iostream & stream_cast(Object &object)
Access stream object.
Definition stream.cxx:168