From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../doxygen/nel/classNLMISC_1_1CFileDisplayer.html | 367 +++++++++++++++++++++ 1 file changed, 367 insertions(+) create mode 100644 docs/doxygen/nel/classNLMISC_1_1CFileDisplayer.html (limited to 'docs/doxygen/nel/classNLMISC_1_1CFileDisplayer.html') diff --git a/docs/doxygen/nel/classNLMISC_1_1CFileDisplayer.html b/docs/doxygen/nel/classNLMISC_1_1CFileDisplayer.html new file mode 100644 index 00000000..51f44290 --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1CFileDisplayer.html @@ -0,0 +1,367 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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: +

+ +NLMISC::IDisplayer + +List of all members. + + + + + + + + + + + + + +

Public Methods

 CFileDisplayer (const std::string &filename, bool eraseLastLog=false, const char *displayerName="")
 Constructor. More...

 CFileDisplayer ()
void setParam (const std::string &filename, bool eraseLastLog=false)
 Set Parameter of the displayer if not set at the ctor time. More...


Protected Methods

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


Private Attributes

std::string _FileName
FILE * _FilePointer
bool _NeedHeader
+

Detailed Description

+File displayer. +

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

+Author:
+Vianney Lecroart , Nevrax France
+Date:
+2000
+

+ +

+Definition at line 135 of file displayer.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NLMISC::CFileDisplayer::CFileDisplayer const std::string &   filename,
bool   eraseLastLog = false,
const char *   displayerName = ""
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 293 of file displayer.cpp. +

+References _FilePointer, and setParam.

+

+ + + + +
+ + + + + + + + + +
NLMISC::CFileDisplayer::CFileDisplayer  
+
+ + + + + +
+   + + +

+ +

+Definition at line 299 of file displayer.cpp. +

+References _FilePointer.

+


Member Function Documentation

+

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

+Put the string into the file. +

+ +

+Implements NLMISC::IDisplayer. +

+Definition at line 333 of file displayer.cpp. +

+References _FileName, _FilePointer, _NeedHeader, NLMISC::IDisplayer::dateToHumanString, NLMISC::IDisplayer::HeaderString, and NLMISC::IDisplayer::logTypeToString.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLMISC::CFileDisplayer::setParam const std::string &   filename,
bool   eraseLastLog = false
+
+ + + + + +
+   + + +

+Set Parameter of the displayer if not set at the ctor time. +

+ +

+Definition at line 304 of file displayer.cpp. +

+References _FileName, and nlwarning. +

+Referenced by CFileDisplayer.

+


Member Data Documentation

+

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

+ +

+Definition at line 152 of file displayer.h. +

+Referenced by doDisplay, and setParam.

+

+ + + + +
+ + +
FILE* NLMISC::CFileDisplayer::_FilePointer [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 154 of file displayer.h. +

+Referenced by CFileDisplayer, and doDisplay.

+

+ + + + +
+ + +
bool NLMISC::CFileDisplayer::_NeedHeader [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 156 of file displayer.h. +

+Referenced by doDisplay.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1