ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Smersh.hpp
Revision: 176
Committed: 2004-06-25T20:32:24-07:00 (20 years, 11 months ago) by Douglas Thrift
File size: 841 byte(s)
Log Message:
Almost working, needs error display, and a working api::TcpSocket::Close().

File Contents

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

Properties

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