| 
    MeVisLab Toolbox Reference
    
   | 
 
Tool functions for PCL google tests. More...
#include <MLPCLSupportSystem.h>#include <mlTypeDefs.h>#include <mlAPI.h>#include <mlPCLBaseObject.h>Go to the source code of this file.
Namespaces | |
| namespace | MLPCLTestTools | 
| Namespace containing useful tools for Google tests written for PCL related classes in MeVisLab.  | |
Typedefs | |
| typedef void(* | MLPCLTestTools::OverrideTestDefaultsFunc) (mlModule *modulePtr, const char *className) | 
A function type which allows to set fields of the module with class name className and given with modulePtr before it is tested with arbitrary inputs and field touches.   | |
Functions | |
| MLPCLSUPPORT_EXPORT MLLibraryHandle | MLPCLTestTools::loadPCLLibrary (const char *const modName) ML_RETURN_VALUE_SHOULD_BE_USED | 
Loads a MeVisLab library with name modName and returns a non-nullptr handle to the library on success, and nullptr on failure.   | |
| MLPCLSUPPORT_EXPORT MLErrorCode | MLPCLTestTools::unloadPCLLibrary (MLLibraryHandle modLibHandle, const char *const modName) ML_RETURN_VALUE_SHOULD_BE_USED | 
Unloads a MeVisLab library with name modName and handle modLibHandle; returns ML_RESULT_OK on success or another error code on failure.   | |
| MLPCLSUPPORT_EXPORT MLErrorCode | MLPCLTestTools::setUpPCLTestTools () ML_RETURN_VALUE_SHOULD_BE_USED | 
| Initializes some internals needed by the subsequent tool functions and loads MLBasicModules; returns ML_RESULT_OK on success or another error code on failure.   | |
| MLPCLSUPPORT_EXPORT MLErrorCode | MLPCLTestTools::tearDownPCLTestTools () ML_RETURN_VALUE_SHOULD_BE_USED | 
Cleans up some internals initialized with setUpPCLTestTools() and unloads MLBasicModules; returns ML_RESULT_OK on success or another error code on failure.   | |
| MLPCLSUPPORT_EXPORT MLErrorCode | MLPCLTestTools::runClassInstancesTest (const char *const *pclClassNames, size_t numPCLClassNames, OverrideTestDefaultsFunc overrideTestDefaults=nullptr, bool pclSupportItselfIsTested=false, size_t numIndirectlyLoadedPCLClasses=0) ML_RETURN_VALUE_SHOULD_BE_USED | 
Runs some heavy tests on the module with class name className and given with modulePtr before it is tested with arbitrary inputs and field touches.   | |
Variables | |
| MLPCLSUPPORT_EXPORT MLuint64 | MLPCLTestTools::_MaxSigned32BitIndex | 
| This variable is exported for testing purposes only.   | |
| MLPCLSUPPORT_EXPORT MLuint64 | MLPCLTestTools::_MaxUnsigned32BitIndex | 
| This variable is exported for testing purposes only.   | |