- ListMetaElem &GetMetaElements(void) {return(MetaList);};
- ListPatientElem &GetPatientElements(void) {return(PatientList);};
- ListStudyElem &GetStudyElements(void) {return(StudyList);};
- ListSerieElem &GetSerieElements(void) {return(SerieList);};
- ListImageElem &GetImageElements(void) {return(ImageList);};
+ /**
+ * \ingroup DicomDirElement
+ * \brief returns a reference to the chained List
+ * related to the META Elements of a DICOMDIR.
+ */
+ ListDicomDirMetaElem const & GetDicomDirMetaElements() const
+ { return DicomDirMetaList; };
+
+ /**
+ * \ingroup DicomDirElement
+ * \brief returns a reference to the chained List
+ * related to the PATIENT Elements of a DICOMDIR.
+ */
+ ListDicomDirPatientElem const & GetDicomDirPatientElements() const
+ { return DicomDirPatientList; };
+
+ /**
+ * \ingroup DicomDirElement
+ * \brief returns a reference to the chained List
+ * related to the STUDY Elements of a DICOMDIR.
+ */
+ ListDicomDirStudyElem const & GetDicomDirStudyElements() const
+ { return DicomDirStudyList; };
+
+ /**
+ * \ingroup DicomDirElement
+ * \brief returns a reference to the chained List
+ * related to the SERIE Elements of a DICOMDIR.
+ */
+ ListDicomDirSerieElem const & GetDicomDirSerieElements() const
+ { return DicomDirSerieList; };
+
+ /**
+ * \ingroup DicomDirElement
+ * \brief returns a reference to the chained List
+ * related to the IMAGE Elements of a DICOMDIR.
+ */
+ ListDicomDirImageElem const & GetDicomDirImageElements() const
+ { return DicomDirImageList; };
+
+ /**
+ * Public method to add an element
+ */
+ bool AddNewEntry(std::string const & type, Element const & elem);