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.hpp (file contents), Revision 350 by Douglas Thrift, 2004-05-26T17:44:17-07:00 vs.
trunk/Search/Outputter.hpp (file contents), Revision 351 by Douglas Thrift, 2004-05-30T22:03:07-07:00

# Line 42 | Line 42
42   * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43   * ============================================================================
44   */
45 < // Douglas Thrift's Search Engine Outputer
45 > // Douglas Thrift's Search Engine Outputter
46   //
47   // Douglas Thrift
48   //
49   // $Id$
50  
51 < #ifndef _Outputer_hpp_
52 < #define _Outputer_hpp_
51 > #ifndef _Outputter_hpp_
52 > #define _Outputter_hpp_
53  
54   #include "Search.hpp"
55   #include "Searcher.hpp"
56  
57 < class Outputer
57 > class Outputter
58   {
59   private:
60          string headerFile, bodyFile, footerFile, notfoundFile, pagesFile;
# Line 76 | Line 76 | private:
76          void tag(string& line, char* tag, const string& replacement);
77          void conditional(string& line, ifstream& fin, char* tag, bool condition);
78   public:
79 <        Outputer(const string& headerFile, const string& bodyFile, const string&
79 >        Outputter(const string& headerFile, const string& bodyFile, const string&
80                  footerFile, const string& notfoundFile, const string& pagesFile) :
81                  headerFile(headerFile), bodyFile(bodyFile), footerFile(footerFile),
82                  notfoundFile(notfoundFile), pagesFile(pagesFile) {}
83 <        ~Outputer() {}
83 >        ~Outputter() {}
84          void output(Searcher& searcher, unsigned page);
85   };
86  
87 < #endif // _Outputer_hpp_
87 > #endif // _Outputter_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines