Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MFUtil::OstreamManager Class Reference

#include <OstreamManager.h>

List of all members.

Public Methods

virtual ~OstreamManager ()
 OstreamManager (const std::string &p_filename)
 OstreamManager (std::ostream &p_ostream)
std::ostream & getStream (void)

Detailed Description

Encapsulates the fact that an output stream be related to a file or to stdout or etc.

Constructor & Destructor Documentation

virtual MFUtil::OstreamManager::~OstreamManager   [virtual]

Default destructor.

MFUtil::OstreamManager::OstreamManager const std::string &    p_filename

Constructor for a file based streaming.

p_filename  Name of file to be open for output.

MFUtil::OstreamManager::OstreamManager std::ostream &    p_ostream [inline]

Constructor for a ostream based streaming.

Member Function Documentation

std::ostream& MFUtil::OstreamManager::getStream void    [inline]

Main utility: return a ostream object that was built by the constructors of this class.

The documentation for this class was generated from the following file:
Generated on Sat Nov 4 15:59:01 2006 for GLARE by doxygen1.2.18