]> Creatis software - gdcm.git/blob - Testing/TestDicomDirElement.cxx
Normalization
[gdcm.git] / Testing / TestDicomDirElement.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: TestDicomDirElement.cxx,v $
5   Language:  C++
6   Date:      $Date: 2005/02/02 10:05:26 $
7   Version:   $Revision: 1.3 $
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 "gdcmDicomDirElement.h"
19
20 #include <iostream>
21
22 int TestDicomDirElement(int , char *[])
23 {
24    gdcm::DicomDirElement *ddElt = new gdcm::DicomDirElement();
25    if (ddElt == 0)
26    {
27    std::cout << "new DicomDirElement failed" << std::endl;
28    return 1;
29    }  
30    ddElt->Print( std::cout );
31
32    // TODO : User add an Entry (e.g Physician Name )
33
34    delete ddElt;
35    return 0;
36 }