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 351 by Douglas Thrift, 2004-05-30T22:03:07-07:00 vs.
Revision 360 by Douglas Thrift, 2004-08-19T20:09:52-07:00

# Line 62 | Line 62 | private:
62          double time;
63          vector<Ranker> webpages;
64          unsigned numWebpages, numPages;
65 <        void header(const string& query, unsigned page, const vector<string>&
66 <                common, bool and_, bool or_, const string& ignore);
65 >        void header(const string& query, unsigned 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, const vector<string>&
70 <                common, bool and_, bool or_, const string& ignore);
69 >        void footer(const string& query, unsigned 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);
# Line 76 | Line 78 | private:
78          void tag(string& line, char* tag, const string& replacement);
79          void conditional(string& line, ifstream& fin, char* tag, bool condition);
80   public:
81 <        Outputter(const string& headerFile, const string& bodyFile, const string&
82 <                footerFile, const string& notfoundFile, const string& pagesFile) :
83 <                headerFile(headerFile), bodyFile(bodyFile), footerFile(footerFile),
84 <                notfoundFile(notfoundFile), pagesFile(pagesFile) {}
81 >        Outputter(const string& headerFile, const string& bodyFile,
82 >                const string& footerFile, const string& notfoundFile,
83 >                const string& pagesFile) : headerFile(headerFile), bodyFile(bodyFile),
84 >                footerFile(footerFile), notfoundFile(notfoundFile),
85 >                pagesFile(pagesFile) {}
86          ~Outputter() {}
87          void output(Searcher& searcher, unsigned page);
88   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines