Main Page ? Class Hierarchy ? Compound List ? File List ? Compound Members ? File Members ?

CmtLog Class Reference

#include

List of all members.


Public Methods

? CmtLog ()
CmtLog &? operator<< (const cmt_string &s)
CmtLog &? operator<< (const char *c)
CmtLog &? operator<< (int i)
CmtLog &? operator<< (double d)
CmtLog &? operator<< (void *p)
CmtLog &? operator<< (CmtLogEnd &end)
CmtLog &? operator<< (CmtLogDummy &dummy)

Static Public Methods

CmtLogEnd &? end ()

Private Methods

bool? check ()

Constructor & Destructor Documentation

CmtLog::CmtLog (? ? )?
?

Definition at line 17 of file cmt_log.cxx.

00018 {
00019 }

Member Function Documentation

bool CmtLog::check (? ? )? [private]
?

Definition at line 28 of file cmt_log.cxx.

References Cmt::get_debug().

Referenced by operator<<().

00029 {
00030   if (Cmt::get_debug ()) return (true);
00031   return (false);
00032 }

CmtLogEnd & CmtLog::end (? ? )? [static]
?

Definition at line 21 of file cmt_log.cxx.

00022 {
00023   static CmtLogEnd me;
00024 
00025   return (me);
00026 }

CmtLog & CmtLog::operator<< (? CmtLogDummy &? ? dummy )?
?

Definition at line 82 of file cmt_log.cxx.

00083 {
00084   return (*this);
00085 }

CmtLog & CmtLog::operator<< (? CmtLogEnd &? ? end )?
?

Definition at line 74 of file cmt_log.cxx.

References check().

00075 {
00076   if (!check ()) return (*this);
00077 
00078   cout << endl;
00079   return (*this);
00080 }

CmtLog & CmtLog::operator<< (? void *? ? p )?
?

Definition at line 66 of file cmt_log.cxx.

References check().

00067 {
00068   if (!check ()) return (*this);
00069 
00070   cout << p;
00071   return (*this);
00072 }

CmtLog & CmtLog::operator<< (? double? ? d )?
?

Definition at line 58 of file cmt_log.cxx.

References check().

00059 {
00060   if (!check ()) return (*this);
00061 
00062   cout << d;
00063   return (*this);
00064 }

CmtLog & CmtLog::operator<< (? int? ? i )?
?

Definition at line 50 of file cmt_log.cxx.

References check().

00051 {
00052   if (!check ()) return (*this);
00053 
00054   cout << i;
00055   return (*this);
00056 }

CmtLog & CmtLog::operator<< (? const char *? ? c )?
?

Definition at line 34 of file cmt_log.cxx.

References check().

00035 {
00036   if (!check ()) return (*this);
00037 
00038   cout << c;
00039   return (*this);
00040 }

CmtLog & CmtLog::operator<< (? const cmt_string &? ? s )?
?

Definition at line 42 of file cmt_log.cxx.

References check().

00043 {
00044   if (!check ()) return (*this);
00045 
00046   cout << s;
00047   return (*this);
00048 }

The documentation for this class was generated from the following files:
Generated on Wed Sep 1 11:00:10 2004 for CMT by 1.2.18