16 #ifndef mitkTestDICOMLoading_h
17 #define mitkTestDICOMLoading_h
21 #include "MitkDICOMTestingExports.h"
48 DumpImageInformation(
const Image* image );
56 CompareImageInformationDumps(
const std::string& reference,
57 const std::string&
test );
61 typedef std::map<std::string,std::string> KeyValueMap;
66 void SetDefaultLocale();
68 void ResetUserLocale();
70 std::string ComponentTypeToString(
int type );
72 KeyValueMap ParseDump(
const std::string& dump );
74 bool CompareSpacedValueFields(
const std::string& reference,
75 const std::string&
test,
84 std::string reduce(
const std::string& pString,
85 const std::string& pFill =
" ",
86 const std::string& pWhitespace =
" \t");
93 std::string trim(
const std::string& pString,
94 const std::string& pWhitespace =
" \t");
97 bool StringToNumber(
const std::string& s, T& value)
99 std::stringstream stream(s);
104 const char* m_PreviousCLocale;
105 std::locale m_PreviousCppLocale;
itk::SmartPointer< Self > Pointer
Follow Up Storage - Class to facilitate loading/accessing structured follow-up data.
DataCollection - Class to facilitate loading/accessing structured data.
std::list< Image::Pointer > ImageList
Image class for storing images.
std::vector< std::string > StringList
MITKCORE_EXPORT const ScalarType eps