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.


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 216 of file logstream.hxx.


The documentation for this struct was generated from the following file:

Generated on 23 Feb 2010 for SimGear by  doxygen 1.6.1