Program: gdcm
Module: $RCSfile: MakeDicomDir.cxx,v $
Language: C++
- Date: $Date: 2005/10/25 14:52:26 $
- Version: $Revision: 1.16 $
+ Date: $Date: 2005/11/28 17:09:22 $
+ Version: $Revision: 1.17 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include <iostream>
-// ---
-void StartMethod(void *toto) {
- (void)toto;
- std::cout<<"Start parsing"<<std::endl;
-}
-
-void EndMethod(void *toto) {
- (void)toto;
- std::cout<<"End parsing"<<std::endl;
-}
-// ---
-
/**
* \brief Explores recursively the given directory
* orders the gdcm-readable found Files
dcmdir = gdcm::DicomDir::New( );
- dcmdir->SetStartMethod(StartMethod);
- dcmdir->SetEndMethod(EndMethod);
-
dcmdir->SetLoadMode(loadMode);
dcmdir->SetDirectoryName(dirName);
//dcmdir->SetParseDir(true);