Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkTestMain.h File Reference

Go to the source code of this file.

Defines

#define REGISTER_TEST(test)

Typedefs

typedef int(* MainFuncPointer )(int, char **)

Functions

void RegisterTests ()
void PrintAvailableTests ()
int main (int ac, char **av)

Variables

std::map< std::string, MainFuncPointerStringToTestFunctionMap


Define Documentation

#define REGISTER_TEST test   
 

Value:

extern int test(int, char**); \
StringToTestFunctionMap[#test] = test

Definition at line 37 of file itkTestMain.h.


Typedef Documentation

typedef int(* MainFuncPointer)(int , char**)
 

Definition at line 34 of file itkTestMain.h.

Referenced by main().


Function Documentation

int main int    ac,
char **    av
 

Definition at line 55 of file itkTestMain.h.

References MainFuncPointer, PrintAvailableTests(), RegisterTests(), itk::MultiThreader::SetGlobalDefaultNumberOfThreads(), and StringToTestFunctionMap.

void PrintAvailableTests  
 

Definition at line 42 of file itkTestMain.h.

References StringToTestFunctionMap.

Referenced by main().

void RegisterTests  
 

Referenced by main().


Variable Documentation

std::map<std::string, MainFuncPointer> StringToTestFunctionMap
 

Definition at line 35 of file itkTestMain.h.

Referenced by main(), and PrintAvailableTests().


Generated at Wed Mar 12 01:13:18 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000