Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.cxx,v $
Language: C++
- Date: $Date: 2007/03/23 15:30:15 $
- Version: $Revision: 1.41 $
+ Date: $Date: 2007/05/23 14:18:08 $
+ Version: $Revision: 1.43 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmGlobal.h"
#include "gdcmDebug.h"
-namespace gdcm
+namespace GDCM_NAME_SPACE
{
//-----------------------------------------------------------------------------
// Constructor / Destructor
}
/**
- * \brief Remove all 'Images' in the serie
+ * \brief adds a new Private (with the basic elements) to a partially created
+ * DICOMDIR
+ */
+
+DicomDirPrivate *DicomDirSerie::NewPrivate()
+{
+ DicomDirPrivate *dd = DicomDirPrivate::New();
+ Privates.push_back(dd);
+ return dd;
+}
+
+/**
+ * \brief Remove all 'Privates' in the serie
*/
void DicomDirSerie::ClearPrivate()
{
Privates.clear();
}
-
/**
- * \brief Remove all 'Privates' in the serie
+ * \brief Remove all 'Images' in the serie
*/
void DicomDirSerie::ClearImage()
{
}
Images.clear();
}
+
/**
* \brief Get the first entry while visiting the DicomDirImage
* \return The first DicomDirImage if DicomDirserie not empty, otherwhise NULL