]> Creatis software - gdcm.git/blobdiff - src/gdcmDict.h
* src/gdcmDocument.cxx : Set the file pointer TP to 0 in the constructors.
[gdcm.git] / src / gdcmDict.h
index 8f1c8379e715fc39bb85c24f2c979c1ebfbe837b..2b90d10b3e737a5a9e2a33d7aa969dfc966c54d2 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDict.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/18 02:31:58 $
-  Version:   $Revision: 1.21 $
+  Date:      $Date: 2004/10/27 22:31:12 $
+  Version:   $Revision: 1.22 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -30,8 +30,8 @@ namespace gdcm
 {
 
 //-----------------------------------------------------------------------------
-typedef std::map<TagKey, DictEntry*> TagKeyHT;
-typedef std::map<TagName, DictEntry*> TagNameHT;
+typedef std::map<TagKey, DictEntry> TagKeyHT;
+typedef std::map<TagName, DictEntry> TagNameHT;
 typedef std::list<std::string>        EntryNamesList;
 typedef std::map<std::string, std::list<std::string> > EntryNamesByCatMap;
 //-----------------------------------------------------------------------------
@@ -57,8 +57,8 @@ public:
    void PrintByName(std::ostream &os = std::cout);
 
 // Entries
-   bool AddNewEntry (DictEntry *newEntry);
-   bool ReplaceEntry(DictEntry *newEntry);
+   bool AddNewEntry (DictEntry const & newEntry);
+   bool ReplaceEntry(DictEntry const & newEntry);
    bool RemoveEntry (TagKey const & key);
    bool RemoveEntry (uint16_t group, uint16_t element);