Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

logstream_base Struct Reference

A helper class for logstream construction. More...

#include <LogStream.h>

Inheritance diagram for logstream_base:

logstream List of all members.

Public Methods

 logstream_base ()

Public Attributes

logbuf lbuf

Detailed Description

A helper class for logstream construction.

A helper class that ensures a streambuf and ostream are constructed and destroyed in the correct order. The streambuf must be created before the ostream but bases are constructed before members. Thus, making this class a private base of logstream, declared to the left of ostream, we ensure the correct order of construction and destruction.


Constructor & Destructor Documentation

logstream_base::logstream_base   [inline]
 


Member Data Documentation

logbuf logstream_base::lbuf
 


The documentation for this struct was generated from the following file:
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:41 2003, using Doxygen 1.2.18.

[SF.net]