]> Creatis software - gdcm.git/blobdiff - src/gdcmDataEntry.h
Removing 'typedef' from enum declaration should avoid compile error with gcc4.
[gdcm.git] / src / gdcmDataEntry.h
index 7a85bbf32cc3deb2227ada1564cae9aa8b57ef85..a32f3ed7424a9cb0abd0c63adbe2a36d04b89031 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDataEntry.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/26 15:56:51 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2005/11/14 09:55:46 $
+  Version:   $Revision: 1.8 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -46,7 +46,8 @@ public:
 
 // Write
    virtual void WriteContent(std::ofstream *fp, FileType filetype);
-
+   uint32_t ComputeFullLength();
+   
 // Set/Get data
    /// Sets the value (string) of the current Dicom entry
    //virtual void SetValue(std::string const &val);
@@ -75,20 +76,20 @@ public:
    bool IsSelfArea() { return SelfArea; }
 
    ///\brief values for current state of a DataEntry (internal use only)
-   typedef enum
+   enum TValueState
    {
       STATE_LOADED    = 0x00,
       STATE_NOTLOADED = 0x01,
       STATE_UNFOUND   = 0x02,
       STATE_UNREAD    = 0x03
-   } TValueState;
+   };
    
    ///\brief values for current pixel status of a DataEntry (internal use only)
-   typedef enum
+   enum TValueFlag
    {
       FLAG_NONE       = 0x00,
       FLAG_PIXELDATA  = 0x01
-   } TValueFlag;
+   };
 
    // State
    void SetState(const TValueState &state) { State = state; }