ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/FeepingCreaturism.hpp
Revision: 243
Committed: 2004-09-11T21:27:10-07:00 (20 years, 9 months ago) by Douglas Thrift
File size: 1160 byte(s)
Log Message:
Meep!

File Contents

# Content
1 // Feeping Creaturism
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #ifndef _FeepingCreaturism_hpp_
8 #define _FeepingCreaturism_hpp_
9
10 #include <menes/platform.hpp>
11
12 #include <iostream>
13 #include <string>
14 #include <sstream>
15 #include <vector>
16 #include <set>
17 #include <map>
18 #include <algorithm>
19 #include <cstdlib>
20 #include <cstdio>
21 #include <ctime>
22 #include <cctype>
23
24 #include <menes-api/console.hpp>
25 #include <menes-ext/string.hpp>
26 #include <menes-xml/document.hpp>
27 #include <menes-xml/nodeset.hpp>
28 #include <menes-xml/parse.hpp>
29
30 class FeepingCreaturism
31 {
32 private:
33 typedef std::pair<std::string, std::string> _P;
34 typedef std::multimap<std::string, std::string> _M;
35 struct CaseLess
36 {
37 bool operator()(const std::string& one, const std::string& two);
38 };
39 ext::String path, matcher;
40 std::set<std::string, CaseLess> jargon;
41 std::multimap<std::string, std::string> cgi;
42 void initialize();
43 void parse();
44 void daily(const ext::String& date);
45 void random(const ext::String& number);
46 void select(const ext::String& selection, bool validate = false);
47 public:
48 FeepingCreaturism();
49 ~FeepingCreaturism() {}
50 static ext::String program;
51 };
52
53 #endif // _FeepingCreaturism_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id