FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
feitester.hpp
Go to the documentation of this file.
1 /*--------------------------------------------------------------------*/
2 /* Copyright 2005 Sandia Corporation. */
3 /* Under the terms of Contract DE-AC04-94AL85000, there is a */
4 /* non-exclusive license for use of this work by or on behalf */
5 /* of the U.S. Government. Export of this program may require */
6 /* a license from the United States Government. */
7 /*--------------------------------------------------------------------*/
8 
9 #ifndef _feitester_hpp_
10 #define _feitester_hpp_
11 
12 #include <string>
13 
32 class feitester {
33  public:
34  feitester() : path_() {}
35  virtual ~feitester(){}
36 
39  virtual const char* getName() = 0;
40 
41  virtual int testInitialization() = 0;
42 
43  virtual int testLoading() = 0;
44 
45  virtual int testSolve() = 0;
46 
47  virtual int testCheckResult() = 0;
48 
49  virtual void dumpMatrixFiles() = 0;
50 
51  virtual void setParameter(const char* param) = 0;
52 
53  void setPath(const std::string& path)
54  { path_ = path; }
55 
56  void setPath(const char* path)
57  { path_ = path; }
58 
59  protected:
60  std::string path_;
61 };
62 
63 #endif // _feitester_hpp_
virtual int testInitialization()=0
void setPath(const char *path)
Definition: feitester.hpp:56
std::string path_
Definition: feitester.hpp:60
virtual void dumpMatrixFiles()=0
virtual const char * getName()=0
virtual int testSolve()=0
void setPath(const std::string &path)
Definition: feitester.hpp:53
virtual int testCheckResult()=0
virtual void setParameter(const char *param)=0
virtual int testLoading()=0
virtual ~feitester()
Definition: feitester.hpp:35