Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

mootio::mostream Class Reference

Abstract base class for output stream wrappers.

#include <mootIO.h>

Inheritance diagram for mootio::mostream:

Inheritance graph
[legend]
Collaboration diagram for mootio::mostream:

Collaboration graph
[legend]
List of all members.

Public Methods

Constructors etc.
Output methods

Constructor & Destructor Documentation

mootio::mostream::mostream void    [inline]
 

Default constructor

virtual mootio::mostream::~mostream void    [inline, virtual]
 

Destructor


Member Function Documentation

virtual bool mootio::mostream::_IO_putc unsigned char    c [inline, virtual]
 

Write a single byte to the stream

Reimplemented in mootio::mcbuffer, mootio::mcstream, and mootio::mocxxstream.

virtual bool mootio::mostream::flush void    [inline, virtual]
 

Flush all pending writes.

Reimplemented in mootio::mcbuffer, and mootio::mcstream.

bool mootio::mostream::printf const char *    fmt,
...   
[inline]
 

printf() to the stream, arglist version. Default version calls vprintf()

virtual bool mootio::mostream::puts const std::string &    s [inline, virtual]
 

Write a C++ string to the buffer

Reimplemented in mootio::mcbuffer, mootio::mcstream, and mootio::mocxxstream.

virtual bool mootio::mostream::puts const char *    s [inline, virtual]
 

Write a C string to the stream

Reimplemented in mootio::mcbuffer, mootio::mcstream, and mootio::mocxxstream.

virtual bool mootio::mostream::vprintf const char *    fmt,
va_list &    ap
[inline, virtual]
 

printf() to the stream, va_list version Default implementation uses a dynamically allocated temporary buffer and calls write()

Reimplemented in mootio::mcbuffer, mootio::mcstream, and mootio::mocxxstream.

virtual bool mootio::mostream::write const char *    buf,
size_t    n
[inline, virtual]
 

Write @n bytes from @buf to the stream

Reimplemented in mootio::mcbuffer, mootio::mcstream, and mootio::mocxxstream.


The documentation for this class was generated from the following file:
Generated on Wed Jul 28 15:48:08 2004 for libmoot by doxygen1.2.15