Program: gdcm
Module: $RCSfile: gdcmDocEntrySet.cxx,v $
Language: C++
- Date: $Date: 2005/01/06 16:29:22 $
- Version: $Revision: 1.31 $
+ Date: $Date: 2005/01/06 17:20:53 $
+ Version: $Revision: 1.32 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
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");
- return 0;
- }
- return newEntry;
-}
-
/**
* \brief Searches both the public and the shadow dictionary (when they
* exist) for the presence of the DictEntry with given name.
Program: gdcm
Module: $RCSfile: gdcmDocEntrySet.h,v $
Language: C++
- Date: $Date: 2005/01/06 15:36:48 $
- Version: $Revision: 1.31 $
+ Date: $Date: 2005/01/06 17:20:53 $
+ Version: $Revision: 1.32 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
BinEntry* NewBinEntryByNumber(uint16_t group,uint16_t elem,
TagName const & vr = GDCM_UNKNOWN);
SeqEntry* NewSeqEntryByNumber(uint16_t group,uint16_t elem);
- DocEntry* NewDocEntryByNumber(uint16_t group,uint16_t elem,
- TagName const & vr = GDCM_UNKNOWN);
// DictEntry related utilities
DictEntry *GetDictEntryByName (TagName const & name);