+/**
+ * \brief Writes the Object
+ * @param fp ofstream to write to
+ * @param t Type of the File (explicit VR, implicitVR, ...)
+ * @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 );
+ }
+}
+
+/**
+ * \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;
+}