class for testing
More...
#include <gdcmTesting.h>
List of all members.
Detailed Description
class for testing
this class is used for the nightly regression system for GDCM It makes heavily use of md5 computation
- See also:
- gdcm::MD5 class for md5 computation
Member Typedef Documentation
return the table that map the md5 (as in md5sum) of the Pixel Data associated to a filename
return the table that map the media storage (as string) of a filename (gdcmData)
Constructor & Destructor Documentation
gdcm::Testing::Testing |
( |
) |
[inline] |
gdcm::Testing::~Testing |
( |
) |
[inline] |
Member Function Documentation
static bool gdcm::Testing::ComputeFileMD5 |
( |
const char * |
filename, |
|
|
char |
digest_str[33] |
|
) |
| [static] |
static bool gdcm::Testing::ComputeMD5 |
( |
const char * |
buffer, |
|
|
unsigned long |
buf_len, |
|
|
char |
digest_str[33] |
|
) |
| [static] |
MD5 stuff digest_str needs to be at least : strlen = [2*16+1]; string will be \0 padded. (md5 are 32 bytes long) Testing is not meant to be shipped with an installed GDCM release, always prefer the gdcm::MD5 API when doing md5 computation.
static const char* gdcm::Testing::GetDataExtraRoot |
( |
) |
[static] |
static const char* gdcm::Testing::GetDataRoot |
( |
) |
[static] |
static const char* gdcm::Testing::GetFileName |
( |
unsigned int |
file ) |
[static] |
static const char* const gdcm::Testing::GetFileNames |
( |
) |
[static] |
return the table of fullpath to gdcmData DICOM files:
- Examples:
- TestReader.cxx.
static const char* const gdcm::Testing::GetMD5DataImage |
( |
unsigned int |
file ) |
[static] |
static const char* gdcm::Testing::GetMD5FromFile |
( |
const char * |
filepath ) |
[static] |
static const char* const gdcm::Testing::GetMediaStorageDataFile |
( |
unsigned int |
file ) |
[static] |
static const char* gdcm::Testing::GetMediaStorageFromFile |
( |
const char * |
filepath ) |
[static] |
static unsigned int gdcm::Testing::GetNumberOfFileNames |
( |
) |
[static] |
static unsigned int gdcm::Testing::GetNumberOfMD5DataImages |
( |
) |
[static] |
static unsigned int gdcm::Testing::GetNumberOfMediaStorageDataFiles |
( |
) |
[static] |
static const char* gdcm::Testing::GetPixelSpacingDataRoot |
( |
) |
[static] |
Return the GDCM PIXEL SPACING DATA ROOT (See David Clunie website for dataset)
static const char* gdcm::Testing::GetSourceDirectory |
( |
) |
[static] |
static const char* gdcm::Testing::GetTempDirectory |
( |
const char * |
subdir = 0 ) |
[static] |
NOT THREAD SAFE Returns the temp directory as used in testing needing to output data:
static const wchar_t* gdcm::Testing::GetTempDirectoryW |
( |
const wchar_t * |
subdir = 0 ) |
[static] |
static const char* gdcm::Testing::GetTempFilename |
( |
const char * |
filename, |
|
|
const char * |
subdir = 0 |
|
) |
| [static] |
static const wchar_t* gdcm::Testing::GetTempFilenameW |
( |
const wchar_t * |
filename, |
|
|
const wchar_t * |
subdir = 0 |
|
) |
| [static] |
void gdcm::Testing::Print |
( |
std::ostream & |
os = std::cout ) |
|
The documentation for this class was generated from the following file: