Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

test_base.hpp

Go to the documentation of this file.
00001 // See ../../license.txt for license information.
00002 //
00003 // test_base.hpp
00004 //
00005 // 4-Jul-2003  phamilton  Created
00006 //
00007 
00008 #ifndef incTEST_BASE
00009 #define incTEST_BASE
00010 
00011 // forwards
00012 #include <string>
00013 
00014 namespace ph {
00015 namespace common {
00016 class object_base;
00017 };
00018 };
00019 
00020 namespace persist_test {
00021 
00022 class test_base
00023 {
00024 public:
00025         test_base(const std::string &infile, const std::string &matchfile) :
00026                 _infile(infile), _matchfile(matchfile)
00027                         {};
00028         virtual ~test_base() {};
00029         
00030         void dotest();
00031 
00032         virtual void write_output(ph::common::object_base *obj, 
00033                 const std::string &matchfile) = 0;
00034         
00035 private:
00036         std::string _infile;
00037         std::string _matchfile;
00038 };
00039 
00040 };
00041 
00042 #endif // incTEST_BASE

Generated on Wed Apr 5 22:03:26 2006 for cppxmlobj by  doxygen 1.4.3