X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDocument.h;h=2371d996236c597054e5e05a3f81a12fe15cd39c;hb=e51bf0565bbe4c0e269dd941cb4071ebde6012e4;hp=727d049d1780ecfe3f6f9608c2a04a5b383ce3fd;hpb=5b89bede4607999aeb8d5b45311e7ee82f9471ef;p=gdcm.git diff --git a/src/gdcmDocument.h b/src/gdcmDocument.h index 727d049d..2371d996 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/02/02 16:18:48 $ - Version: $Revision: 1.104 $ + Date: $Date: 2005/02/11 16:36:52 $ + Version: $Revision: 1.106 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -43,10 +43,12 @@ class GDCM_EXPORT Document : public ElementSet { public: +typedef std::list ListElements; + // Dictionaries - Dict* GetPubDict(); - Dict* GetShaDict(); - bool SetShaDict(Dict* dict); + Dict *GetPubDict(); + Dict *GetShaDict(); + bool SetShaDict(Dict *dict); bool SetShaDict(DictKey const &dictName); // Informations contained in the gdcm::Document @@ -67,7 +69,7 @@ public: /// \brief Unswaps back the bytes of 2-bytes long integer /// so they agree with the processor order. uint16_t UnswapShort(uint16_t a) { return SwapShort(a);} - /// \brief Unswaps back the bytes of 4-byte long integer + /// \brief Unswaps back the bytes of 4-byte long integer /// so they agree with the processor order. uint32_t UnswapLong(uint32_t a) { return SwapLong(a);} @@ -86,7 +88,7 @@ public: virtual void LoadEntryBinArea(BinEntry *entry); void LoadDocEntrySafe(DocEntry *entry); - + // Ordering of Documents bool operator<(Document &document); @@ -143,6 +145,9 @@ protected: /// are NOT printed. static const unsigned int MAX_SIZE_PRINT_ELEMENT_VALUE; + /// List of element to Anonymize + ListElements AnonymizeList; + private: // Methods void Initialize(); @@ -195,9 +200,11 @@ private: /// is fixed to 64 bytes. uint32_t MaxSizePrintEntry; + // uint32_t GenerateFreeTagKeyInGroup(uint16_t group); // void BuildFlatHashTableRecurse( TagDocEntryHT &builtHT, // DocEntrySet *set ); + }; } // end namespace gdcm