#include <sys/types.h>
#include <errno.h>
-void StartMethod(void * = NULL)
-{
- std::cout<<"Start parsing"<<std::endl;
-}
-
-void EndMethod(void * = NULL)
-{
- std::cout<<"End parsing"<<std::endl;
-}
-
//-----------------------------------------------------------------------------
// For full DICOMDIR description, see:
// PS 3.3-2003, pages 731-750
bool exception_on_error):
gdcmParser(FileName,exception_on_error,true)
{
- startMethod=StartMethod;
+ startMethod=NULL;
progressMethod=NULL;
- endMethod=EndMethod;
+ endMethod=NULL;
startArg=NULL;
progressArg=NULL;
endArg=NULL;
}
}
+ end=GetListEntry().end();
if(begin!=end)
- {
- end=GetListEntry().end();
AddObjectToEnd(type,begin,end);
- }
}
/*
* \ingroup gdcmDicomDir
*/
void gdcmImage::Print(std::ostream &os)
{
- os<<"IMAGE"<<std::endl;
+ os<<"IMAGE : ";
for(ListTag::iterator i=beginObj;i!=endObj;++i)
{
if( ((*i)->GetGroup()==0x0004) && ((*i)->GetElement()==0x1500) )