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 338 by douglas, 2004-12-14T15:38:19-08:00 vs.
Revision 559 by douglas, 2005-07-17T04:58:55-07:00

# Line 7 | Line 7
7   #ifndef _SiteMapper_hpp_
8   #define _SiteMapper_hpp_
9  
10 < #include <menes/platform.hpp>
10 > #include <menes/cxx/platform.hpp>
11  
12   #ifdef MENES_PRAGMA_ONCE
13   #pragma once
14   #endif
15  
16 < #include <menes-api/console.hpp>
17 < #include <menes-api/files.hpp>
18 < #include <menes-ios/string.hpp>
19 < #include <menes-xml/document.hpp>
20 < #include <menes-xml/nodeset.hpp>
21 < #include <menes-xml/parse.hpp>
22 < #include <menes-xml/textwriter.hpp>
16 > #include <menes/api/files.hpp>
17 > #include <menes/ios/string.hpp>
18 > #include <menes/xml/document.hpp>
19 > #include <menes/xml/nodeset.hpp>
20 > #include <menes/xml/parse.hpp>
21 > #include <menes/xml/textwriter.hpp>
22  
23   #include <string>
24   #include <map>
25  
27 extern ext::String program;
28 extern bool debug;
29
26   #include "Page.hpp"
27  
28   class SiteMapper
29   {
30   private:
31 <        ext::String comment;
31 >        cse::String comment;
32          ext::Vector<Page> pages;
33          std::map<std::string, std::multimap<std::string, Page> > newPages;
34 <        void oldMap(const ext::String& siteMap);
34 >        void oldMap(const cse::String& siteMap);
35          void oldMap(ext::Vector<Page>& pages, xml::Node* list);
36 <        void newIndex(const ext::String& siteIndex);
36 >        void newIndex(const cse::String& siteIndex);
37          bool newIndex(ext::Vector<Page>& pages, Page& page);
38 <        void newMap(const ext::String& siteMap);
39 <        void newMap(ext::Vector<Page>& pages, const ext::String& childOf, std::multimap<std::string, Page>& newPages);
38 >        void newMap(const cse::String& siteMap);
39 >        void newMap(ext::Vector<Page>& pages, const cse::String& childOf, std::multimap<std::string, Page>& newPages);
40   public:
41 <        SiteMapper(const ext::String& siteIndex, const ext::String& siteMap);
42 <        ~SiteMapper() {}
41 >        SiteMapper(const cse::String& siteIndex, const cse::String& siteMap);
42 >        static cse::String program;
43 >        static bool debug;
44   };
45  
46   #endif // _SiteMapper_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines