11 |
|
#include <fstream> |
12 |
|
#include <string> |
13 |
|
#include <sstream> |
14 |
< |
#include <vector> |
14 |
> |
//#include <vector> |
15 |
> |
#include <list> |
16 |
|
#include <set> |
17 |
|
|
18 |
|
using namespace std; |
50 |
|
class SiteMapper |
51 |
|
{ |
52 |
|
private: |
53 |
< |
vector<Page> pages; |
53 |
> |
list<Page> pages; |
54 |
|
set<Page> newPages; |
55 |
|
XalanSourceTreeInit init; |
56 |
|
XalanSourceTreeDOMSupport support; |
59 |
|
XPath* item; |
60 |
|
XPath* address; |
61 |
|
XPath* link; |
62 |
< |
XPath* list; |
62 |
> |
XPath* list_; |
63 |
|
XPath* port; |
64 |
|
XPath* path; |
65 |
|
XPath* title; |
66 |
|
void oldMap(const string& siteMap); |
67 |
< |
void oldMap(vector<Page>& pages, XalanNode* list); |
67 |
> |
void oldMap(list<Page>& pages, XalanNode* list); |
68 |
|
void index(const string& siteIndex); |
69 |
|
void newMap(const string& siteMap); |
70 |
|
public: |