Program: gdcm
Module: $RCSfile: gdcmDicomDirImage.cxx,v $
Language: C++
- Date: $Date: 2004/10/12 04:35:44 $
- Version: $Revision: 1.12 $
+ Date: $Date: 2005/01/06 15:43:18 $
+ Version: $Revision: 1.15 $
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
-
-/**
- * \ingroup DicomDirImage
- * \brief Constructor
- * @param s SQ Item holding the elements
- * @param ptagHT pointer to the HTable (DicomDirObject needs it
- * to build the DocEntries)
- */
-DicomDirImage::DicomDirImage(SQItem *s, TagDocEntryHT *ptagHT):
- DicomDirObject(ptagHT)
-{
- docEntries = s->GetDocEntries();
-}
-
/**
* \ingroup DicomDirImage
* \brief Constructor
- * @param ptagHT pointer to the HTable (DicomDirObject needs it
- * to build the DocEntries)
*/
-DicomDirImage::DicomDirImage(TagDocEntryHT *ptagHT):
- DicomDirObject(ptagHT)
+DicomDirImage::DicomDirImage():
+ DicomDirObject()
{
}
/**
void DicomDirImage::Print(std::ostream &os)
{
os << "IMAGE : ";
- for(ListDocEntry::iterator i=docEntries.begin();i!=docEntries.end();++i)
+ for(ListDocEntry::iterator i = DocEntries.begin();
+ i!= DocEntries.end();
+ ++i)
{
if( (*i)->GetGroup() == 0x0004 && (*i)->GetElement() == 0x1500 )
{