int main(int , char *[])
{
using namespace gdcm;
if( !g.LoadResourcesFiles() )
{
return 1;
}
static const Defs &defs = g.GetDefs();
static const Modules &modules = defs.GetModules();
static const IODs &iods = defs.GetIODs();
static const Macros ¯os = defs.GetMacros();
static const Dicts &dicts = g.GetDicts();
for( std::vector<Tag>::const_iterator tit = tags.begin(); tit != tags.end(); ++tit )
{
const DictEntry &dictentry = dicts.GetDictEntry(tag);
std::cout << "Processing Attribute: " << tag << " " << dictentry << std::endl;
for( ; it != iods.End(); ++it )
{
const IOD &iod = it->second;
for(unsigned int idx = 0; idx < niods; ++idx)
{
const char *ref = iodentry.
GetRef();
const Module &module = modules.GetModule( ref );
{
std::cout << "IOD Name: " << name << std::endl;
std::cout << "Type: " << type << std::endl;
}
}
}
}
return 0;
}