Program: gdcm
Module: $RCSfile: gdcmDicomDirImage.cxx,v $
Language: C++
- Date: $Date: 2004/10/25 03:35:19 $
- Version: $Revision: 1.13 $
+ Date: $Date: 2005/01/18 14:28:32 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
//-----------------------------------------------------------------------------
// 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()
{
}
/**
- * \ingroup DicomDirImage
* \brief Canonical destructor.
*/
DicomDirImage::~DicomDirImage()
//-----------------------------------------------------------------------------
// Print
/**
- * \ingroup DicomDirImage
* \brief Prints the Object
+ * @param os ostream to write to
+ * @param indent indent
* @return
*/
-void DicomDirImage::Print(std::ostream &os)
+void DicomDirImage::Print(std::ostream &os, std::string const & )
{
os << "IMAGE : ";
for(ListDocEntry::iterator i = DocEntries.begin();