Changeset 2120 for trunk/MagicSoft/Mars/mbase/MLogManip.cc
- Timestamp:
- 05/19/03 09:11:42 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MLogManip.cc
r2100 r2120 107 107 } 108 108 109 ostream& underline(ostream& lout) 110 { 111 // 112 // get the streambuf of the stream 113 // get the pointer to the parent class by casting 114 // Disable an output device of the logging stream, it should 115 // be possible to disable more than one output device at the 116 // same time by oring them together 117 // 118 // Be careful: This manipulator can only be used in MLogging 119 // streams - in other streams SetOutputLevel is a call 120 // of a non existing function 121 // 122 MLog *log=(MLog*)lout.rdbuf(); 123 log->Underline(); 124 return lout; 125 } 126
Note:
See TracChangeset
for help on using the changeset viewer.