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/Outputter.hpp (file contents):
Revision 360 by Douglas Thrift, 2004-08-19T20:09:52-07:00 vs.
Revision 365 by douglas, 2008-08-11T15:16:35-07:00

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines