Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::RenderingTestHelper::ArgcHelperClass Class Reference

The ArgcHelperClass class is a convinience class to convert a vector of strings to the standard c++ argv and argc arguments. This is necessary for the vtkTesting::Test, since is requires the reference image (and other optional parameters) via command line. More...

#include <mitkRenderingTestHelper.h>

Public Member Functions

 ArgcHelperClass (const std::vector< std::string > &argstrings)
 
char ** GetArgv ()
 
int GetArgc ()
 

Detailed Description

The ArgcHelperClass class is a convinience class to convert a vector of strings to the standard c++ argv and argc arguments. This is necessary for the vtkTesting::Test, since is requires the reference image (and other optional parameters) via command line.

Definition at line 160 of file mitkRenderingTestHelper.h.

Constructor & Destructor Documentation

mitk::RenderingTestHelper::ArgcHelperClass::ArgcHelperClass ( const std::vector< std::string > &  argstrings)
inline

Definition at line 170 of file mitkRenderingTestHelper.h.

References mitk::IOUtil::GetProgramPath().

Member Function Documentation

int mitk::RenderingTestHelper::ArgcHelperClass::GetArgc ( )
inline

Definition at line 184 of file mitkRenderingTestHelper.h.

char** mitk::RenderingTestHelper::ArgcHelperClass::GetArgv ( )
inline

Definition at line 183 of file mitkRenderingTestHelper.h.


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