-ValEntry *DocEntrySet::NewValEntry(uint16_t group,uint16_t elem,
- TagName const &vr)
-{
- DictEntry *dictEntry = GetDictEntry(group, elem, vr);
- gdcmAssertMacro(dictEntry);
-
- ValEntry *newEntry = new ValEntry(dictEntry);
- if (!newEntry)
- {
- gdcmWarningMacro( "Failed to allocate ValEntry");
- return 0;
- }
- return newEntry;
-}
-
-
-/**
- * \brief Build a new Bin Entry from all the low level arguments.
- * Check for existence of dictionary entry, and build
- * a default one when absent.
- * @param group Group number of the new Entry
- * @param elem Element number of the new Entry
- * @param vr V(alue) R(epresentation) of the new Entry
- */
-BinEntry *DocEntrySet::NewBinEntry(uint16_t group, uint16_t elem,
- TagName const &vr)