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
*/
class GDCM_EXPORT Document : public ElementSet
{
-public:
+ gdcmTypeMacro(Document);
-typedef std::list<Element> ListElements;
+public:
+ typedef std::list<DicomElement> ListElements;
// Loading
//Deprecated : use SetFileName() + Load()
// 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);}