X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.h;h=66f0df52ed2207d1a0cefe565150beb13e813353;hb=054831cf90388689ca00fd96283258985ef4fc1f;hp=8add2a6bfe75bda9e4ae4b21f89599e1b36a9561;hpb=1e74cf45bc96f14c342cc404f0f91dfffe0810b9;p=gdcm.git diff --git a/src/gdcmDict.h b/src/gdcmDict.h index 8add2a6b..66f0df52 100644 --- a/src/gdcmDict.h +++ b/src/gdcmDict.h @@ -42,24 +42,30 @@ public: bool RemoveEntry (guint16 group, guint16 element); // Tag - gdcmDictEntry * GetTagByName(TagName name); - gdcmDictEntry * GetTagByNumber(guint16 group, guint16 element); + gdcmDictEntry *GetDictEntryByName(TagName name); + gdcmDictEntry *GetDictEntryByNumber(guint16 group, guint16 element); - std::list *GetTagNames(void); + std::list *GetDictEntryNames(void); std::map > * - GetTagNamesByCategory(void); + GetDictEntryNamesByCategory(void); /** * \ingroup gdcmDict * \brief returns a ref to the Dicom Dictionary H table (map) * return the Dicom Dictionary H table */ - inline TagKeyHT & gdcmDict::GetEntries(void) { return KeyHt; } + inline TagKeyHT & GetEntriesByKey(void) { return KeyHt; } + + /** + * \ingroup gdcmDict + * \brief returns a ref to the Dicom Dictionary H table (map) + * return the Dicom Dictionary H table + */ + inline TagNameHT & GetEntriesByName(void) { return NameHt; } private: - std::string name; + /// ASCII file holding the Dictionnary std::string filename; - /// Access through TagKey (see alternate access with NameHt) TagKeyHT KeyHt; /// Access through TagName (see alternate access with KeyHt)