ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/FeepingCreaturism.hpp
Revision: 307
Committed: 2004-12-12T23:07:27-08:00 (20 years, 6 months ago) by douglas
File size: 1239 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 #include <menes-api/console.hpp>
12 #include <menes-api/process.hpp>
13 #include <menes-ext/string.hpp>
14 #include <menes-ios/helpers.hpp>
15 #include <menes-ios/string.hpp>
16 #include <menes-xml/document.hpp>
17 #include <menes-xml/nodeset.hpp>
18 #include <menes-xml/parse.hpp>
19
20 #include <iostream>
21 #include <string>
22 #include <sstream>
23 #include <set>
24 #include <map>
25 #include <algorithm>
26 #include <cstdlib>
27 #include <cstdio>
28 #include <ctime>
29 #include <cctype>
30
31 class FeepingCreaturism
32 {
33 private:
34 typedef std::pair<std::string, std::string> _P;
35 typedef std::multimap<std::string, std::string> _M;
36 struct CaseLess
37 {
38 bool operator()(const std::string& one, const std::string& two);
39 };
40 ext::String path, matcher;
41 std::set<std::string, CaseLess> jargon;
42 std::multimap<std::string, std::string> cgi;
43 void initialize();
44 void parse();
45 void daily(const ext::String& date);
46 void random(const ext::String& number);
47 void select(const ext::String& selection, bool validate = false);
48 public:
49 FeepingCreaturism();
50 ~FeepingCreaturism() {}
51 static ext::String program;
52 };
53
54 #endif // _FeepingCreaturism_hpp_

Properties

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