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

Comparing SiteMapper/SiteMapper.hpp (file contents):
Revision 128 by Douglas Thrift, 2004-03-23T22:15:08-08:00 vs.
Revision 154 by Douglas Thrift, 2004-06-04T02:40:33-07:00

# Line 10 | Line 10
10   #include <iostream>
11   #include <fstream>
12   #include <string>
13 + #include <sstream>
14   #include <vector>
15 < #include <set>
15 > #include <map>
16  
17   using namespace std;
18  
19 + #include <menes-xml/document.hpp>
20 + #include <menes-xml/nodeset.hpp>
21 + #include <menes-xml/parse.hpp>
22 +
23   extern string program;
24   extern bool debug;
25  
# Line 23 | Line 28 | extern bool debug;
28   class SiteMapper
29   {
30   private:
31 +        string comment;
32          vector<Page> pages;
33 <        set<Page> newPages;
33 >        map<string, multimap<string, Page> > newPages;
34 >        void oldMap(const string& siteMap);
35 >        void oldMap(vector<Page>& pages, xml::Node* list);
36 >        void newIndex(const string& siteIndex);
37 >        bool newIndex(vector<Page>& pages, Page& page);
38 >        void newMap(const string& siteMap);
39 >        void newMap(vector<Page>& pages, const string& childOf, multimap<string,
40 >                Page>& newPages);
41   public:
42          SiteMapper(const string& siteIndex, const string& siteMap);
43          ~SiteMapper() {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines