OTB
9.0.0
Orfeo Toolbox
|
#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"
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 |
#define REGISTER_TEST | ( | test | ) |
Definition at line 42 of file otbTestMain.h.
typedef int(* MainFuncPointer) (int, char *[]) |
Definition at line 39 of file otbTestMain.h.
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 71 of file otbTestMain.h.
Referenced by main().
void LoadTestEnv | ( | ) |
Definition at line 61 of file otbTestMain.h.
Referenced by main().
int main | ( | int | ac, |
char * | av[] | ||
) |
Definition at line 88 of file otbTestMain.h.
References CheckOption(), otb::ogr::Drivers::Init(), otb::ConfigurationManager::InitOpenMPThreads(), otb::Logger::Instance(), LoadTestEnv(), otb::TestHelper::New(), PrintAvailableTests(), RegisterTests(), and StringToTestFunctionMap.
void PrintAvailableTests | ( | ) |
Definition at line 47 of file otbTestMain.h.
References StringToTestFunctionMap.
Referenced by main().
void RegisterTests | ( | ) |
Referenced by main().
std::map<std::string, MainFuncPointer> StringToTestFunctionMap |
Definition at line 40 of file otbTestMain.h.
Referenced by main(), and PrintAvailableTests().