]> Creatis software - gdcm.git/blob - src/gdcmContentEntry.cxx
a2723218a83e4926e463a504a5fede60519847af
[gdcm.git] / src / gdcmContentEntry.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmContentEntry.cxx,v $
5   Language:  C++
6   Date:      $Date: 2005/01/26 15:03:32 $
7   Version:   $Revision: 1.6 $
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
19 #include "gdcmContentEntry.h"
20 #include "gdcmVR.h"
21 #include "gdcmTS.h"
22 #include "gdcmGlobal.h"
23 #include "gdcmUtil.h"
24 #include "gdcmDebug.h"
25
26 #include <fstream>
27
28 namespace gdcm 
29 {
30
31 //-----------------------------------------------------------------------------
32 // Constructor / Destructor
33
34
35 //-----------------------------------------------------------------------------
36 // Public
37
38 //-----------------------------------------------------------------------------
39 // Protected
40 /**
41  * \brief   Constructor for a given DictEntry
42  * @param   e Pointer to existing dictionary entry
43  */
44 ContentEntry::ContentEntry(DictEntry *e) : DocEntry(e)
45 {
46    Value = GDCM_UNFOUND;
47 }
48
49 /**
50  * \brief   Constructor for a given DocEntry
51  * @param   e Pointer to existing Doc entry
52  */
53 ContentEntry::ContentEntry(DocEntry *e)
54              : DocEntry(e->GetDictEntry())
55 {
56    Copy(e);
57 }
58
59 /**
60  * \brief   Canonical destructor.
61  */
62 ContentEntry::~ContentEntry ()
63 {
64 }
65 //-----------------------------------------------------------------------------
66 // Private
67
68 //-----------------------------------------------------------------------------
69 } // end namespace gdcm
70