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

configuration.h

Go to the documentation of this file.
00001 #ifndef CONFIGURATION_H
00002 #define CONFIGURATION_H
00003 // $Id: configuration.h,v 1.2 2001/04/12 14:55:54 dvermeir Exp $
00004 
00005 #include <iostream>
00006 #include <set>
00007 
00009 class Configuration {
00010 public:
00012   enum CRITERIUM { DATE, PATH, DOMAIN };
00013   Configuration();
00014   ~Configuration() {}
00015 
00017   CRITERIUM       format() const { return format_; }
00019   unsigned int    max_level() const { return max_level_; }
00021   const set<unsigned int>& levels() const { return levels_; }
00023   bool parse(istream&);
00024 private:
00025   CRITERIUM         format_;
00026   set<unsigned int> levels_;
00027   unsigned int      max_level_;
00028 };
00029 #endif
00030 

httpstats-stage01 [ 7 April, 2001]