ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/Search/trunk/Processor.hpp
(Generate patch)

Comparing trunk/Search/Processor.hpp (file contents):
Revision 347 by Douglas Thrift, 2004-04-05T16:37:41-07:00 vs.
Revision 348 by Douglas Thrift, 2004-05-26T17:44:17-07:00

# Line 59 | Line 59
59   class Processor
60   {
61   private:
62 <        Page* page;
62 >        Page page;
63          set<string> links;
64          bool process(HttpHandler& http, URL& url, string& title, string&
65                  description, string& text, vector<string>& headings);
66          string getTag(const string& line, unsigned open, unsigned close);
67   public:
68 <        Processor();
69 <        ~Processor();
68 >        Processor() {}
69 >        ~Processor() {}
70          bool process(HttpHandler& http, URL& url);
71 <        Page getPage() { return *page; }
71 >        const Page& getPage() const { return page; }
72          set<string> getLinks() { return links; }
73          void reset();
74   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines