ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/FeepingCreaturism.hpp
Revision: 227
Committed: 2004-09-06T13:23:39-07:00 (20 years, 9 months ago) by Douglas Thrift
File size: 1209 byte(s)
Log Message:
This is a little cleaner.

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 <ctime>
21 #include <cctype>
22
23 #include <menes-api/console.hpp>
24 #include <menes-ext/string.hpp>
25
26 #ifdef MENES_STL_CONVERTABLE
27 #undef MENES_STL_CONVERTABLE
28 #endif
29
30 #include <menes-xml/document.hpp>
31 #include <menes-xml/nodeset.hpp>
32 #include <menes-xml/parse.hpp>
33
34 class FeepingCreaturism
35 {
36 private:
37 typedef std::pair<std::string, std::string> _P;
38 typedef std::multimap<std::string, std::string> _M;
39 struct CaseLess
40 {
41 bool operator()(const std::string& one, const std::string& two);
42 };
43 ext::String path, matcher;
44 std::set<std::string, CaseLess> jargon;
45 std::multimap<std::string, std::string> cgi;
46 void initialize();
47 void parse();
48 void daily(const ext::String& date);
49 void random(const ext::String& number);
50 void select(const ext::String& selection, bool validate = false);
51 public:
52 FeepingCreaturism();
53 ~FeepingCreaturism() {}
54 static ext::String program;
55 };
56
57 #endif // _FeepingCreaturism_hpp_

Properties

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