+/**
+ * \brief Writes the Object
+ * @return
+ */
+void DicomDirStudy::WriteContent(std::ofstream* fp, FileType t)
+{
+ DicomDirObject::WriteContent(fp, t);
+
+ for(ListDicomDirSerie::iterator cc = Series.begin();
+ cc!= Series.end();
+ ++cc )
+ {
+ (*cc)->WriteContent( fp, t );
+ }
+}
+
+/**
+ * \ingroup DicomDirStudy
+ * \brief adds a new Serie at the begining of the SerieList
+ * of a partially created DICOMDIR
+ */
+DicomDirSerie* DicomDirStudy::NewSerie()
+{
+ ListDicomDirSerieElem const & elemList =
+ Global::GetDicomDirElements()->GetDicomDirSerieElements();
+
+ DicomDirSerie* st = new DicomDirSerie();
+ FillObject(elemList);
+ Series.push_front(st);
+
+ return st;
+}