ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/FeepingCreaturism.hpp
Revision: 223
Committed: 2004-09-06T01:58:43-07:00 (20 years, 9 months ago) by Douglas Thrift
File size: 1277 byte(s)
Log Message:
Moved most of the output stuff to XSL/T.

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

Properties

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