X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.h;h=316f7ccdea9867e8fe03e9f616a5a53cf847d5c3;hb=ebbbfdba2841d733f3ac30a2861e1d66daa2ba81;hp=1e83f1b692720b1c7f1f908184e6ecb067f02e31;hpb=a7b06006e972ee6ebc04f177a1461d4d5ae2089a;p=gdcm.git diff --git a/src/gdcmDict.h b/src/gdcmDict.h index 1e83f1b6..316f7ccd 100644 --- a/src/gdcmDict.h +++ b/src/gdcmDict.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDict.h,v $ Language: C++ - Date: $Date: 2005/05/11 15:01:47 $ - Version: $Revision: 1.39 $ + Date: $Date: 2005/09/03 18:24:10 $ + Version: $Revision: 1.41 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -23,6 +23,7 @@ #include "gdcmDictEntry.h" #include +#include // for ifstream #include #include @@ -49,6 +50,8 @@ public: Dict(std::string const &filename); ~Dict(); + bool AddDict(std::string const &filename); + bool RemoveDict(std::string const &filename); // Print void Print(std::ostream &os = std::cout, std::string const &indent = ""); @@ -67,6 +70,8 @@ public: DictEntry *GetNextEntry(); private: + void DoTheLoadingJob(std::ifstream &ifs); + /// ASCII file holding the Dictionnary std::string Filename;