Map from test name to test function. More...
#include <cmtkTestFunctionMap.h>
Public Types | |
typedef int(* | TestFunctionPtr )() |
Test function pointer. | |
Public Member Functions | |
void | AddTest (const std::string &testName, TestFunctionPtr testFunction) |
Add test. | |
int | RunTestByName (const std::string &testName) |
Run a test by name. | |
Private Types | |
typedef std::map< std::string, TestFunctionPtr > | MapType |
Map from test name to test pointer. | |
Private Attributes | |
MapType | m_Map |
Map from test name to test function. |
Map from test name to test function.
Definition at line 48 of file cmtkTestFunctionMap.h.
typedef std::map< std::string, TestFunctionPtr > cmtk::TestFunctionMap::MapType [private] |
Map from test name to test pointer.
Definition at line 74 of file cmtkTestFunctionMap.h.
typedef int(* cmtk::TestFunctionMap::TestFunctionPtr)() |
Test function pointer.
Definition at line 52 of file cmtkTestFunctionMap.h.
void cmtk::TestFunctionMap::AddTest | ( | const std::string & | testName, |
TestFunctionPtr | testFunction | ||
) | [inline] |
Add test.
Definition at line 55 of file cmtkTestFunctionMap.h.
int cmtk::TestFunctionMap::RunTestByName | ( | const std::string & | testName ) | [inline] |
Run a test by name.
Definition at line 61 of file cmtkTestFunctionMap.h.
MapType cmtk::TestFunctionMap::m_Map [private] |
Map from test name to test function.
Definition at line 77 of file cmtkTestFunctionMap.h.