1 /*=========================================================================
4 Module: $RCSfile: gdcmContentEntry.cxx,v $
6 Date: $Date: 2005/06/24 10:55:58 $
7 Version: $Revision: 1.10 $
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.
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.
17 =========================================================================*/
19 #include "gdcmContentEntry.h"
22 #include "gdcmGlobal.h"
24 #include "gdcmDebug.h"
31 //-----------------------------------------------------------------------------
32 // Constructor / Destructor
34 * \brief Constructor for a given DictEntry
35 * @param e Pointer to existing dictionary entry
37 ContentEntry::ContentEntry(DictEntry *e)
44 * \brief Constructor for a given DocEntry
45 * @param e Pointer to existing Doc entry
47 ContentEntry::ContentEntry(DocEntry *e)
48 : DocEntry(e->GetDictEntry())
54 * \brief Canonical destructor.
56 ContentEntry::~ContentEntry ()
60 //-----------------------------------------------------------------------------
63 //-----------------------------------------------------------------------------
65 void ContentEntry::Copy(DocEntry *doc)
69 ContentEntry *entry = dynamic_cast<ContentEntry *>(doc);
74 //-----------------------------------------------------------------------------
77 //-----------------------------------------------------------------------------
80 //-----------------------------------------------------------------------------
81 } // end namespace gdcm