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

Comparing trunk/Search/Outputer.h (file contents):
Revision 14 by douglas, 2002-12-04T20:22:59-08:00 vs.
Revision 15 by douglas, 2002-12-09T09:46:18-08:00

# Line 68 | Line 68 | private:
68          vector<Ranker> webpages;
69          unsigned numWebpages;
70          unsigned numPages;
71 <        void header(string& query, unsigned page, vector<string> common, bool and_,
72 <                bool or_, string& ignore);
71 >        void header(const string& query, unsigned page, vector<string> common, bool
72 >                and_, bool or_, const string& ignore);
73          void body();
74 <        void footer(string& query, unsigned page, vector<string> common, bool and_,
75 <                bool or_, string& ignore);
76 <        void notfound(string& query, unsigned keywords);
74 >        void footer(const string& query, unsigned page, vector<string> common, bool
75 >                and_, bool or_, const string& ignore);
76 >        void notfound(const string& query, unsigned keywords);
77          string pages(string query, unsigned page);
78          string range(unsigned page);
79          string total();
80          string duration();
81          string manycommon(vector<string> common);
82 <        void tag(string& line, char* tag, string& replacement);
82 >        void tag(string& line, char* tag, const string& replacement);
83          void conditional(string& line, ifstream& fin, char* tag, bool condition);
84   public:
85 <        Outputer(string& headerFile, string& bodyFile,
86 <                string& footerFile, string& notfoundFile, string& pagesFile);
85 >        Outputer(const string& headerFile, const string& bodyFile, const string&
86 >                footerFile, const string& notfoundFile, const string& pagesFile);
87          ~Outputer() {}
88          void output(Searcher& searcher, unsigned page);
89   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines