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

The ArgcHelperClass class is a convenience 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 convenience 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 156 of file mitkRenderingTestHelper.h.

Constructor & Destructor Documentation

◆ ArgcHelperClass()

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

Definition at line 166 of file mitkRenderingTestHelper.h.

References mitk::IOUtil::GetProgramPath().

Member Function Documentation

◆ GetArgc()

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

Definition at line 180 of file mitkRenderingTestHelper.h.

◆ GetArgv()

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

Definition at line 179 of file mitkRenderingTestHelper.h.


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