Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class 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 Member Functions

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::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::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::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
bytes from 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 Mon Jun 27 13:05:32 2005 for libmoot by  doxygen 1.3.8-20040913