ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Smersh.hpp
Revision: 349
Committed: 2004-12-16T18:15:34-08:00 (20 years, 6 months ago) by douglas
File size: 1035 byte(s)
Log Message:
Horribly broken, including parts of menes.

File Contents

# Content
1 // Smersh
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #ifndef _Smersh_hpp_
8 #define _Smersh_hpp_
9
10 #include <menes/platform.hpp>
11
12 #ifndef MENES_PRAGMA_ONCE
13 #pragma once
14 #endif
15
16 #include <iostream>
17 #include <sstream>
18 #include <fstream>
19 //#include <vector>
20 #include <map>
21 #include <algorithm>
22 #include <cstdlib>
23 #include <cctype>
24 #include <ctime>
25
26 #include <menes-api/console.hpp>
27 #include <menes-ext/casts.hpp>
28 #include <menes-ext/foreach.hpp>
29 #include <menes-xml/document.hpp>
30 #include <menes-xml/nodeset.hpp>
31 #include <menes-xml/parse.hpp>
32
33 #include "Environment.hpp"
34
35 class Person;
36
37 class Smersh
38 {
39 private:
40 static Environment env;
41 multimap<std::string, std::string> cgi;
42 void parse(std::istream& sin, const Environment& env);
43 void smersh(std::ostream& sout, const Environment& env);
44 void output(std::ostream& sout, const ext::RedBlackSet<Person>& people);
45 public:
46 Smersh(std::istream& sin = std::cin, std::ostream& sout = std::cout, const Environment& env = env);
47 static ext::String program;
48 static bool debug;
49 };
50
51 #endif // _Smersh_hpp_

Properties

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