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

stats.C File Reference

#include "stats.h"
#include <algorithm>

Go to the source code of this file.

Functions

ostream& operator<< (ostream &os, const Stats &stats)


Function Documentation

ostream & operator<< ( ostream & os,
const Stats & stats )
 

What information (dates, paths or domains) depends on configuration_.

Definition at line 89 of file stats.C.

00089                                            {
00090 switch (stats.configuration_.format()) {
00091   case Configuration::DATE:
00092     stats.print_dates(os);
00093     break;
00094   case Configuration::PATH:
00095     stats.print_paths(os);
00096     break;
00097   case Configuration::DOMAIN:
00098     stats.print_domains(os);
00099     break;
00100   }
00101 return os;
00102 }


httpstats-stage02a [ 7 April, 2001]