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

verbosity.cxx File Reference

#include <limits.h>
#include <stdarg.h>
#include <string>
#include <vector>
#include <iostream>
#include "abkcommon.h"
#include "verbosity.h"

Include dependency graph for verbosity.cxx:

Include dependency graph

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 66 of file verbosity.cxx.

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:39 2005 for Parquete by doxygen 1.3.2