Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions | Protected Member Functions | Friends
ext::ostream Class Reference

#include <ostream.h>

Inheritance diagram for ext::ostream:
[legend]

Public Member Functions

 ostream (std::basic_streambuf< char > *sb)
 
virtual ~ostream () noexcept
 
ostreamput (char ch)
 
ostreamwrite (const char *s, std::streamsize count)
 
std::streampos tellp ()
 
ostreamseekp (std::streampos pos)
 
ostreamseekp (std::streamoff off, std::ios_base::seekdir dir)
 
ostreamflush ()
 
std::streambuf * rdbuf () const
 
std::streambuf * rdbuf (std::streambuf *buf)
 
void setstate (std::ios_base::iostate state)
 
void clear (std::ios_base::iostate state=std::ios_base::goodbit)
 

Protected Member Functions

 ostream (ostream &&rhs) noexcept
 
ostreamoperator= (ostream &&rhs) noexcept
 
 operator std::ostream & () &
 
 operator const std::ostream & () const &
 

Friends

template<class T >
requires requires
ostreamoperator<< (ostream &os, const T &val)
 
ostreamoperator<< (ostream &os, std::ostream &(*fn)(std::ostream &))
 

Constructor & Destructor Documentation

◆ ostream() [1/2]

ext::ostream::ostream ( std::basic_streambuf< char > *  sb)

◆ ~ostream()

ext::ostream::~ostream ( )
virtualdefaultnoexcept

◆ ostream() [2/2]

ext::ostream::ostream ( ostream &&  rhs)
protectednoexcept

Member Function Documentation

◆ clear()

void ext::ostream::clear ( std::ios_base::iostate  state = std::ios_base::goodbit)
Here is the caller graph for this function:

◆ flush()

ostream & ext::ostream::flush ( )
Here is the caller graph for this function:

◆ operator const std::ostream &()

ext::ostream::operator const std::ostream & ( ) const &
protected

◆ operator std::ostream &()

ext::ostream::operator std::ostream & ( ) &
protected

◆ operator=()

ostream & ext::ostream::operator= ( ostream &&  rhs)
protectednoexcept

◆ put()

ostream & ext::ostream::put ( char  ch)

◆ rdbuf() [1/2]

std::streambuf * ext::ostream::rdbuf ( ) const
Here is the caller graph for this function:

◆ rdbuf() [2/2]

std::streambuf * ext::ostream::rdbuf ( std::streambuf *  buf)

◆ seekp() [1/2]

ostream & ext::ostream::seekp ( std::streamoff  off,
std::ios_base::seekdir  dir 
)

◆ seekp() [2/2]

ostream & ext::ostream::seekp ( std::streampos  pos)

◆ setstate()

void ext::ostream::setstate ( std::ios_base::iostate  state)
Here is the caller graph for this function:

◆ tellp()

std::streampos ext::ostream::tellp ( )

◆ write()

ostream & ext::ostream::write ( const char *  s,
std::streamsize  count 
)

Friends And Related Function Documentation

◆ operator<< [1/2]

template<class T >
requires requires
ostream & operator<< ( ostream os,
const T &  val 
)
friend

◆ operator<< [2/2]

ostream & operator<< ( ostream os,
std::ostream &(*)(std::ostream &)  fn 
)
friend

The documentation for this class was generated from the following files: