Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

verbosity.h File Reference

#include <stdarg.h>
#include <vector>
#include <iostream>

Include dependency graph for verbosity.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  Verbosity
 author="Igor Markov, Nov 16, 1997" More...


Functions

std::ostream & operator<< (std::ostream &os, const Verbosity &verbsty)


Function Documentation

std::ostream& operator<< std::ostream &  os,
const Verbosity verbsty
 

Definition at line 66 of file verbosity.cxx.

References Verbosity::_levels, Verbosity::forActions, Verbosity::forMajStats, and Verbosity::forSysRes.

00067 {
00068         unsigned numLevels=verbsty._levels.size(); 
00069 
00070         os << " Verbosity levels : " << numLevels << endl;
00071         os << " For actions : " << verbsty.forActions << ",  "
00072            << " For sys resources : " << verbsty.forSysRes << ",  "
00073            << " For major stats : " << verbsty.forMajStats << endl;
00074       
00075         if (numLevels > 3)
00076         {
00077           os << " Other levels : " ;
00078           for (unsigned i=3; i!=numLevels; ++i)
00079           {
00080                 if ( i % 10 == 0 )
00081                 {
00082                     if (i) os << endl;
00083                     os <<"      ";
00084                 }
00085                 os<<setw(3)<<verbsty._levels[i]<<" ";
00086           }
00087           os << endl;
00088         }
00089 
00090     return os;
00091 }


Generated on Mon Apr 25 01:12:41 2005 for Parquete by doxygen 1.3.2