10 |
|
#include <iostream> |
11 |
|
#include <fstream> |
12 |
|
#include <string> |
13 |
– |
#include <sstream> |
13 |
|
#include <vector> |
15 |
– |
#include <map> |
14 |
|
#include <set> |
15 |
|
|
16 |
|
using namespace std; |
17 |
|
|
18 |
+ |
extern string program; |
19 |
+ |
extern bool debug; |
20 |
+ |
|
21 |
+ |
#include "Page.hpp" |
22 |
+ |
|
23 |
|
class SiteMapper |
24 |
|
{ |
25 |
|
private: |
26 |
< |
// |
26 |
> |
vector<Page> pages; |
27 |
> |
set<Page> newPages; |
28 |
> |
void oldMap(const string& siteMap); |
29 |
> |
void index(const string& siteIndex); |
30 |
> |
void newMap(const string& siteMap); |
31 |
|
public: |
32 |
|
SiteMapper(const string& siteIndex, const string& siteMap); |
33 |
|
~SiteMapper() {} |