ITK  6.0.0
Insight Toolkit
Namespaces | Macros | Functions
itkMeshIOTestHelper.h File Reference
#include "itkArray.h"
#include "itkCommonEnums.h"
#include "itkCovariantVector.h"
#include "itkFixedArray.h"
#include "itkDiffusionTensor3D.h"
#include "itkMacro.h"
#include "itkMatrix.h"
#include "itkMeshIOBase.h"
#include "itkRGBAPixel.h"
#include "itkRGBPixel.h"
#include "itkSymmetricSecondRankTensor.h"
#include "itkVariableLengthVector.h"
#include "itkVariableSizeMatrix.h"
#include "itkVector.h"
#include <complex>
#include <iostream>
+ Include dependency graph for itkMeshIOTestHelper.h:

Go to the source code of this file.

Namespaces

namespace  itk
 
namespace  itk::MeshIOTestHelper
 

Macros

#define LOCAL_ITK_TEST_SET_GET_VALUE(variable, command)
 

Functions

std::shared_ptr< void > itk::MeshIOTestHelper::AllocateBuffer (itk::IOComponentEnum componentType, itk::SizeValueType bufferSize)
 
template<typename T >
std::shared_ptr< void > itk::MeshIOTestHelper::MakeSharedArray (const std::vcl_size_t bufferSize)
 
template<typename TMeshIO >
int TestBaseClassMethodsMeshIO (typename TMeshIO::Pointer meshIO)
 

Macro Definition Documentation

◆ LOCAL_ITK_TEST_SET_GET_VALUE

#define LOCAL_ITK_TEST_SET_GET_VALUE (   variable,
  command 
)
Value:
ITK_GCC_PRAGMA_PUSH \
ITK_GCC_SUPPRESS_Wfloat_equal \
if (variable != command) \
{ \
std::cerr << "Error in " << #command << std::endl; \
std::cerr << " In " __FILE__ ", line " << __LINE__ << std::endl; \
std::cerr << "Expected " << variable << std::endl; \
std::cerr << "but got " << command << std::endl; \
return EXIT_FAILURE; \
} \
ITK_GCC_PRAGMA_POP \
ITK_MACROEND_NOOP_STATEMENT

Definition at line 42 of file itkMeshIOTestHelper.h.

Function Documentation

◆ TestBaseClassMethodsMeshIO()

template<typename TMeshIO >
int TestBaseClassMethodsMeshIO ( typename TMeshIO::Pointer  meshIO)