CustusX  15.3.3-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cisstTestParameters Class Reference

#include <cisstTestParameters.h>

Public Types

enum  TestRunModeType { PRINT_HELP, RUN_TESTS, LIST_TESTS, GENERATE_CTEST_FILE }
 
typedef std::list< std::string > TestNameContainerType
 

Public Member Functions

 cisstTestParameters ()
 
void ParseCmdLine (int argc, char *argv[])
 
const TestNameContainerTypeGetTestNames () const
 
TestRunModeType GetTestRunMode () const
 
int GetNumInstances () const
 
int GetNumIterations () const
 
std::string GetProgramName (void) const
 

Static Public Member Functions

static int PrintHelp (const char *programName)
 

Detailed Description

Definition at line 32 of file cisstTestParameters.h.

Member Typedef Documentation

typedef std::list<std::string> cisstTestParameters::TestNameContainerType

Definition at line 36 of file cisstTestParameters.h.

Member Enumeration Documentation

Enumerator
PRINT_HELP 
RUN_TESTS 
LIST_TESTS 
GENERATE_CTEST_FILE 

Definition at line 35 of file cisstTestParameters.h.

Constructor & Destructor Documentation

cisstTestParameters::cisstTestParameters ( )
inline

Definition at line 45 of file cisstTestParameters.h.

Member Function Documentation

int cisstTestParameters::GetNumInstances ( ) const
inline

Definition at line 64 of file cisstTestParameters.h.

int cisstTestParameters::GetNumIterations ( ) const
inline

Definition at line 69 of file cisstTestParameters.h.

std::string cisstTestParameters::GetProgramName ( void  ) const
inline

Definition at line 74 of file cisstTestParameters.h.

const TestNameContainerType& cisstTestParameters::GetTestNames ( ) const
inline

Definition at line 54 of file cisstTestParameters.h.

TestRunModeType cisstTestParameters::GetTestRunMode ( ) const
inline

Definition at line 59 of file cisstTestParameters.h.

void cisstTestParameters::ParseCmdLine ( int  argc,
char *  argv[] 
)

Definition at line 28 of file cisstTestParameters.cpp.

int cisstTestParameters::PrintHelp ( const char *  programName)
static

Print help message.

Definition at line 99 of file cisstTestParameters.cpp.


The documentation for this class was generated from the following files: