Rosetta 3.3
Public Member Functions | Protected Types | Protected Member Functions
utility::io::orstream Class Reference

orstream: Output stream wrapper base class More...

#include <orstream.hh>

Inheritance diagram for utility::io::orstream:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~orstream ()
 Destructor.
virtual operator bool () const =0
 bool conversion
virtual operator std::ostream const & () const =0
 Stream conversion.
virtual operator std::ostream & ()=0
 Stream conversion.
template<typename T >
orstreamoperator<< (T const &t)
 Stream output.
virtual orstreamoperator<< (manipulator m)=0
 Stream manipulator output.
virtual orstreamflush ()=0
 Flush the stream.
virtual void clear ()=0
 Clear the stream.
virtual orstreamput (char const c)=0
 Write a char.
virtual orstreamwrite (char const *str, std::streamsize const count)=0
 Write a string.
virtual orstreamwrite (std::string const &str, std::streamsize const count)=0
 Write a string.
virtual std::ostream const & operator() () const =0
 Stream access.
virtual std::ostream & operator() ()=0
 Stream access.
virtual std::ostream const & stream () const =0
 Stream access.
virtual std::ostream & stream ()=0
 Stream access.
virtual std::streambuf * rdbuf () const =0
 Pointer to the stream buffer.
virtual bool good () const =0
 Good?
virtual bool eof () const =0
 End of file?
virtual bool fail () const =0
 Fail?
virtual bool bad () const =0
 Bad?
virtual bool compressed () const =0
 Compressed?
virtual bool uncompressed () const =0
 Uncompressed?
virtual bool gzipped () const =0
 gzipped?

Protected Types

typedef std::ostream &(* manipulator )(std::ostream &)

Protected Member Functions

 orstream ()
 Default constructor.

Detailed Description

orstream: Output stream wrapper base class


Member Typedef Documentation

typedef std::ostream&(* utility::io::orstream::manipulator)(std::ostream &) [protected]

Constructor & Destructor Documentation

virtual utility::io::orstream::~orstream ( ) [inline, virtual]

Destructor.

utility::io::orstream::orstream ( ) [inline, protected]

Default constructor.


Member Function Documentation

virtual bool utility::io::orstream::bad ( ) const [pure virtual]

Bad?

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual void utility::io::orstream::clear ( ) [pure virtual]

Clear the stream.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual bool utility::io::orstream::compressed ( ) const [pure virtual]

Compressed?

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual bool utility::io::orstream::eof ( ) const [pure virtual]

End of file?

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual bool utility::io::orstream::fail ( ) const [pure virtual]

Fail?

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual orstream& utility::io::orstream::flush ( ) [pure virtual]

Flush the stream.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual bool utility::io::orstream::good ( ) const [pure virtual]

Good?

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual bool utility::io::orstream::gzipped ( ) const [pure virtual]

gzipped?

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual utility::io::orstream::operator bool ( ) const [pure virtual]

bool conversion

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual utility::io::orstream::operator std::ostream & ( ) [pure virtual]

Stream conversion.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual utility::io::orstream::operator std::ostream const & ( ) const [pure virtual]

Stream conversion.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual std::ostream const& utility::io::orstream::operator() ( ) const [pure virtual]

Stream access.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual std::ostream& utility::io::orstream::operator() ( ) [pure virtual]

Stream access.

Implemented in utility::io::ocstream, and utility::io::ozstream.

template<typename T >
orstream& utility::io::orstream::operator<< ( T const &  t) [inline]

Stream output.

Reimplemented in utility::io::ocstream, and utility::io::ozstream.

References stream(), and sd::t.

virtual orstream& utility::io::orstream::operator<< ( manipulator  m) [pure virtual]

Stream manipulator output.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual orstream& utility::io::orstream::put ( char const  c) [pure virtual]

Write a char.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual std::streambuf* utility::io::orstream::rdbuf ( ) const [pure virtual]

Pointer to the stream buffer.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual std::ostream& utility::io::orstream::stream ( ) [pure virtual]

Stream access.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual std::ostream const& utility::io::orstream::stream ( ) const [pure virtual]

Stream access.

Implemented in utility::io::ocstream, and utility::io::ozstream.

Referenced by operator<<().

virtual bool utility::io::orstream::uncompressed ( ) const [pure virtual]

Uncompressed?

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual orstream& utility::io::orstream::write ( std::string const &  str,
std::streamsize const  count 
) [pure virtual]

Write a string.

Implemented in utility::io::ocstream, and utility::io::ozstream.

virtual orstream& utility::io::orstream::write ( char const *  str,
std::streamsize const  count 
) [pure virtual]

Write a string.

Implemented in utility::io::ocstream, and utility::io::ozstream.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines