- dbg.Verbose(1, "Document::NewSeqEntryByNumber",
- "failed to allocate SeqEntry");
- return 0;
- }
- return newEntry;
-}
-
-/** \brief
- * Creates a new DocEntry (without any 'value' ...)
- * @param group group number of the underlying DictEntry
- * @param elem elem number of the underlying DictEntry
- * @param vr V(alue) R(epresentation) of the Entry -if private Entry-
- */
-DocEntry* DocEntrySet::NewDocEntryByNumber(uint16_t group, uint16_t elem,
- TagName const & vr)
-{
- DictEntry *dictEntry = GetDictEntryByNumber(group, elem, vr);
- assert(dictEntry);
-
- // Create the DocEntry
- DocEntry *newEntry = new DocEntry(dictEntry);
- if (!newEntry)
- {
- dbg.Verbose(1, "SQItem::NewDocEntryByNumber",
- "failed to allocate DocEntry");