logstream_base Struct Reference

A helper class that ensures a streambuf and ostream are constructed and destroyed in the correct order. More...

#include <logstream.hxx>

Inheritance diagram for logstream_base:

logstream List of all members.

Public Member Functions

 logstream_base ()

Public Attributes

logbuf lbuf

Detailed Description

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.

Definition at line 230 of file logstream.hxx.


The documentation for this struct was generated from the following file:
Generated on Mon Dec 17 09:30:56 2007 for SimGear by  doxygen 1.5.1