X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocument.h;h=1d8ce95c005e05588314684ccd684c975b4d39f9;hb=eacd2efd90ffb9015d6358f135cb17a838a29abb;hp=977124bac4a83ee99f129a7e2caff9fe2457f862;hpb=bc69950a406d06c50f0fb75a96572784965cb534;p=gdcm.git diff --git a/src/gdcmDocument.h b/src/gdcmDocument.h index 977124ba..1d8ce95c 100644 --- a/src/gdcmDocument.h +++ b/src/gdcmDocument.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.h,v $ Language: C++ - Date: $Date: 2005/10/18 08:35:50 $ - Version: $Revision: 1.123 $ + Date: $Date: 2005/10/19 12:01:51 $ + Version: $Revision: 1.126 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -41,7 +41,7 @@ class GDCM_EXPORT Document : public ElementSet { public: -typedef std::list ListElements; +typedef std::list ListElements; // Loading //Deprecated : use SetFileName() + Load() @@ -116,7 +116,6 @@ protected: // to instanciate from this class Document (only gdcm::File and // gdcm::DicomDir are meaningfull). Document(); - Document( std::string const &filename ); virtual ~Document(); uint16_t ReadInt16() throw ( FormatError ); @@ -191,8 +190,8 @@ private: void LoadDocEntry (DocEntry *e, bool forceLoad = false); void FindDocEntryLength (DocEntry *e) throw ( FormatError ); uint32_t FindDocEntryLengthOBOrOW() throw( FormatUnexpected ); - std::string FindDocEntryVR(); - bool CheckDocEntryVR (VRKey k); + VRKey FindDocEntryVR(); + bool CheckDocEntryVR (const VRKey &k); void SkipDocEntry (DocEntry *entry); void SkipToNextDocEntry (DocEntry *entry);