OTB  6.7.0
Orfeo Toolbox
Macros | Typedefs | Functions | Variables
otbTestMain.h File Reference
#include "otbConfigure.h"
#include "otbConfigurationManager.h"
#include <map>
#include <string>
#include "itkMultiThreader.h"
#include "otbMacro.h"
#include "otbOGRDriversInit.h"
#include "otbTestHelper.h"
#include "otbImageFileReaderException.h"
#include "itkMersenneTwisterRandomVariateGenerator.h"
+ Include dependency graph for otbTestMain.h:

Go to the source code of this file.

Macros

#define REGISTER_TEST(test)
 

Typedefs

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

Functions

void LoadTestEnv ()
 
void PrintAvailableTests ()
 
void RegisterTests ()
 
bool CheckOption (char *arg, const char *token, int ac, int min)
 
int main (int ac, char *av[])
 

Variables

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

Macro Definition Documentation

#define REGISTER_TEST (   test)
Value:
extern int test(int, char*[]); \
std::map< std::string, MainFuncPointer > StringToTestFunctionMap
Definition: otbTestMain.h:44

Definition at line 46 of file otbTestMain.h.

Typedef Documentation

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

Definition at line 43 of file otbTestMain.h.

Function Documentation

bool CheckOption ( char *  arg,
const char *  token,
int  ac,
int  min 
)

CheckOption, utility function to test the presence of a given token in the argument list. The function also checks if there are at least 'min' arguments left to parse the token (token included)

Definition at line 75 of file otbTestMain.h.

Referenced by main().

void LoadTestEnv ( )

Definition at line 65 of file otbTestMain.h.

References itk::Statistics::MersenneTwisterRandomVariateGenerator::GetInstance().

Referenced by main().

int main ( int  ac,
char *  av[] 
)
void PrintAvailableTests ( )

Definition at line 51 of file otbTestMain.h.

Referenced by main().

void RegisterTests ( )

Referenced by main().

Variable Documentation

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

Definition at line 44 of file otbTestMain.h.