std::cout << " NumberOfScalarComponents " << numberOfScalarComponents <<std::endl;
- if ( e1->GetEntryByNumber(0x0002,0x0010) == GDCM_NOTLOADED ) {
+ if ( e1->GetEntryByNumber(0x0002,0x0010) == gdcm::GDCM_NOTLOADED ) {
std::cout << "Transfert Syntax not loaded. " << std::endl
<< "Better you increase MAX_SIZE_LOAD_ELEMENT_VALUE"
<< std::endl;
std::cout << "\n\n" << std::endl;
- if ( e1->GetEntryByNumber(0x0002,0x0010) == GDCM_NOTLOADED ) {
+ if ( e1->GetEntryByNumber(0x0002,0x0010) == gdcm::GDCM_NOTLOADED ) {
std::cout << "Transfert Syntax not loaded. " << std::endl
<< "Better you increase MAX_SIZE_LOAD_ELEMENT_VALUE"
<< std::endl;
#include "gdcmDataImages.h"
typedef std::string EntryValueType; // same type as ValEntry::value
-typedef std::map< TagKey, EntryValueType > MapEntryValues;
+typedef std::map< gdcm::TagKey, EntryValueType > MapEntryValues;
typedef MapEntryValues* MapEntryValuesPtr;
typedef std::string FileNameType;
typedef std::map< FileNameType, MapEntryValuesPtr > MapFileValuesType;
bool ReferenceFileParser::SecondPassReferenceFile()
throw ( ParserException )
{
- TagKey key;
+ gdcm::TagKey key;
EntryValueType value;
std::string line;
bool inBlock = false;
// There should be 150 entries
ts.Print( std::cout );
- return ts.GetValue( "" ) != GDCM_UNFOUND;
+ return ts.GetValue( "" ) != gdcm::GDCM_UNFOUND;
}