15 #ifndef INCLUDED_utility_io_ocstream_hh
16 #define INCLUDED_utility_io_ocstream_hh
69 operator std::ostream
const &()
const
77 operator std::ostream &()
87 template<
typename T >
133 write( std::string
const & str, std::streamsize
const count )
303 #endif // INCLUDED_utility_io_ocstream_HH
Output stream wrapper abstract base class.
ocstream cerr(std::cerr)
Wrapper around std::cerr.
bool uncompressed() const
Uncompressed?
bool compressed() const
Compressed?
std::ostream const & operator()() const
Stream access.
bool gzipped() const
gzipped?
std::ostream & o_stream_
Output stream reference.
virtual ~ocstream()
Destructor.
ocstream clog(std::clog)
Wrapper around std::clog.
std::ostream & stream()
Stream access.
bool eof() const
End of file?
std::ostream &(* manipulator)(std::ostream &)
void clear()
Clear the stream.
orstream: Output stream wrapper base class
std::streambuf * rdbuf() const
Pointer to the stream buffer.
ocstream cout(std::cout)
Wrapper around std::cout.
ocstream & operator<<(T const &t)
Stream output: override to preserve type of return value.
ocstream & put(char const c)
Write a char.
ocstream & write(char const *str, std::streamsize const count)
Write a string.
ocstream: Output channel stream wrapper class
ocstream & flush()
Flush the stream.
ocstream & write(std::string const &str, std::streamsize const count)
Write a string.
std::ostream const & stream() const
Stream access.
utility::io::ocstream forward declarations
ocstream(std::ostream &o_stream_a)
Constructor.