- /**
- * Public method to add an element
- */
- bool AddNewEntry(std::string const &type, Element const &elem);
+ // Public method to add an element
+ bool AddEntry(DicomDirType type, Element const &elem);
+
+ // Only one instance of ddElem
+ void AddDicomDirElement(DicomDirType type,
+ uint16_t group, uint16_t elem);