# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::CFileDisplayer Class Reference

File displayer. More...

#include <displayer.h>

Inheritance diagram for NLMISC::CFileDisplayer

Inheritance graph
[legend]
Collaboration diagram for NLMISC::CFileDisplayer:

Collaboration graph
[legend]
List of all members.

Public Methods

 CFileDisplayer (const std::string& fileName, bool eraseLastLog = false)
 Constructor. More...


Protected Methods

virtual void doDisplay ( const TDisplayInfo& args, const char *message )
 Put the string into the file. More...


Private Attributes

std::string _FileName
bool _NeedHeader

Detailed Description

File displayer.

Put string into a file. How to log information (for debugging purpose) ?

Author(s):
Vianney Lecroart , Nevrax France
Date:
2000

Definition at line 125 of file displayer.h.


Constructor & Destructor Documentation

NLMISC::CFileDisplayer::CFileDisplayer ( const std::string & filename,
bool eraseLastLog = false )
 

Constructor.

Definition at line 202 of file displayer.cpp.


Member Function Documentation

void NLMISC::CFileDisplayer::doDisplay ( const TDisplayInfo & args,
const char * message ) [protected, virtual]
 

Put the string into the file.

Reimplemented from NLMISC::IDisplayer.

Definition at line 216 of file displayer.cpp.


Member Data Documentation

std::string NLMISC::CFileDisplayer::_FileName [private]
 

Definition at line 137 of file displayer.h.

bool NLMISC::CFileDisplayer::_NeedHeader [private]
 

Definition at line 139 of file displayer.h.


The documentation for this class was generated from the following files: