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:56 dvermeir Exp $
00004 
00005 #include <iostream>
00006 #include <set>
00007 
00009 class Configuration {
00010 public:
00011   enum CRITERIUM { DATE, PATH, DOMAIN };
00012   Configuration();
00013   ~Configuration() {}
00014 
00015   CRITERIUM       format() const { return format_; }
00016   unsigned int    max_level() const { return max_level_; }
00017   const set<unsigned int>& levels() const { return levels_; }
00018 
00019   bool parse(istream&);
00020 private:
00021   CRITERIUM         format_;
00022   set<unsigned int> levels_;
00023   unsigned int      max_level_;
00024 };
00025 #endif
00026 

httpstats-stage02a [ 7 April, 2001]