Program: gdcm
Module: $RCSfile: gdcmSeqEntry.cxx,v $
Language: C++
- Date: $Date: 2005/12/01 09:12:21 $
- Version: $Revision: 1.64 $
+ Date: $Date: 2006/04/13 08:05:52 $
+ Version: $Revision: 1.67 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
namespace gdcm
{
//-----------------------------------------------------------------------------
+// Constructor / Destructor
+
// Constructor / Destructor
/**
* \brief Constructor from a given SeqEntry
*/
-SeqEntry::SeqEntry( DictEntry *e )
- : DocEntry(e)
+SeqEntry::SeqEntry( uint16_t group,uint16_t elem )
+ : DocEntry(group, elem, "SQ")
{
Length = 0;
ReadLength = 0xffffffff;
* @param depth depth level of the current Seq entry
*/
SeqEntry::SeqEntry( DocEntry *e, int depth )
- : DocEntry( e->GetDictEntry() )
+ //: DocEntry( e->GetDictEntry() )
+ : DocEntry( e->GetGroup(), e->GetElement(), "SQ" /*e->GetVR()*/ )
{
Length = 0;
ReadLength = 0xffffffff;
// ignore 'Zero length' Sequences
if ( GetReadLength() == 0 )
return;
-
+
DocEntry::WriteContent(fp, filetype);
for(ListSQItem::iterator cc = Items.begin();
cc != Items.end();