int main(int , char *[])
{
{
std::cerr << "Could not LoadResourcesFiles" << std::endl;
return 1;
}
int ret = 0;
std::cout << "SOP Class Name,SOP Class UID,IOD Specification (defined in PS 3.3)" << std::endl;
{
if( iod )
{
if( iod_ref )
{
std::string iod_ref_str = iod_ref;
{
std::cout <<
'"' << uid.
GetName() <<
'"' <<
"," <<
'"' <<uid.
GetString() <<
'"' <<
"," <<
'"' <<iod <<
'"' << std::endl;
++ret;
}
}
}
}
return 0;
}
FIXME I do not like the name 'Defs'.
Definition gdcmDefs.h:33
static const char * GetIODNameFromMediaStorage(MediaStorage const &ms)
Global.
Definition gdcmGlobal.h:50
Defs const & GetDefs() const
bool LoadResourcesFiles()
static Global & GetInstance()
return the singleton instance
static const char * GetIOD(UIDs const &uid)
all known uids
Definition gdcmUIDs.h:31
bool SetFromUID(const char *str)
const char * GetString() const
const char * GetName() const