X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocument.h;h=7335eecc27df7684a359b064b5aed79e98566989;hb=25b8b1283cdf4cbf91bf60be75ccced82e6bcc95;hp=764160abd78ea4107850652c5ae9cfa84089a28d;hpb=1d9ac5cec02b9daa18b16835882b531731b125ad;p=gdcm.git diff --git a/src/gdcmDocument.h b/src/gdcmDocument.h index 764160ab..7335eecc 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 12:58:28 $ - Version: $Revision: 1.125 $ + Date: $Date: 2005/10/26 15:53:40 $ + Version: $Revision: 1.128 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -39,9 +39,10 @@ class Dict; */ class GDCM_EXPORT Document : public ElementSet { -public: + gdcmTypeMacro(Document); -typedef std::list ListElements; +public: + typedef std::list ListElements; // Loading //Deprecated : use SetFileName() + Load() @@ -69,6 +70,7 @@ typedef std::list ListElements; // System access (meaning endian related !?) uint16_t SwapShort(uint16_t); uint32_t SwapLong(uint32_t); + double SwapDouble(double); /// \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);}