]> Creatis software - gdcm.git/blob - Testing/TestDirList.cxx
Fix mistypings
[gdcm.git] / Testing / TestDirList.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: TestDirList.cxx,v $
5   Language:  C++
6   Date:      $Date: 2007/06/21 14:59:06 $
7   Version:   $Revision: 1.4 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18 #include "gdcmDirList.h"
19
20 int TestDirList(int , char *[])
21 {  
22    std::string path = GDCM_DATA_ROOT;
23    std::cerr << path << std::endl;
24
25    GDCM_NAME_SPACE::DirList list(path, true);
26    list.Print();
27
28    return 0;
29 }