FEI Package Browser (Single Doxygen Collection)  Version of the Day
tester.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 _tester_hpp_
10 #define _tester_hpp_
11 
12 #include <fei_macros.hpp>
13 #include <fei_mpi.h>
14 
15 #include <string>
16 
22 class tester {
23  public:
24  tester(MPI_Comm comm);
25 
26  virtual ~tester();
27 
30  virtual const char* getName() = 0;
31 
32  virtual int runtests() = 0;
33 
34  void setPath(const std::string& path);
35 
36  protected:
39  std::string path_;
40 };
41 
42 #endif // _tester_hpp_
MPI_Comm comm_
Definition: tester.hpp:37
void setPath(const std::string &path)
Definition: tester.cpp:33
virtual int runtests()=0
int localProc_
Definition: tester.hpp:38
virtual ~tester()
Definition: tester.cpp:29
#define MPI_Comm
Definition: fei_mpi.h:56
int numProcs_
Definition: tester.hpp:38
std::string path_
Definition: tester.hpp:39
tester(MPI_Comm comm)
Definition: tester.cpp:17
virtual const char * getName()=0