ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Smersh.hpp
(Generate patch)

Comparing Smersh/Smersh.hpp (file contents):
Revision 199 by Douglas Thrift, 2004-08-30T18:24:07-07:00 vs.
Revision 349 by douglas, 2004-12-16T18:15:34-08:00

# Line 9 | Line 9
9  
10   #include <menes/platform.hpp>
11  
12 + #ifndef MENES_PRAGMA_ONCE
13 + #pragma once
14 + #endif
15 +
16   #include <iostream>
13 #include <string>
17   #include <sstream>
18   #include <fstream>
19 < #include <vector>
19 > //#include <vector>
20   #include <map>
21   #include <algorithm>
22   #include <cstdlib>
# Line 22 | Line 25
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  
29 using namespace std;
30
31 extern string program;
32 extern bool debug;
33
33   #include "Environment.hpp"
34  
35   class Person;
# Line 39 | Line 38 | class Smersh
38   {
39   private:
40          static Environment env;
41 <        multimap<string, string> cgi;
42 <        void parse(istream& sin, const Environment& env);
43 <        void smersh(ostream& sout, const Environment& env);
44 <        void output(ostream& sout, const vector<Person>& people);
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(istream& sin = cin, ostream& sout = cout, const Environment& env =
47 <                env);
48 <        ~Smersh() {}
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_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines