]> Creatis software - gdcm.git/blobdiff - src/gdcmHeader.h
* src/gdcmHeader.h doesn't make unnecessary reference to
[gdcm.git] / src / gdcmHeader.h
index 06b9a0be7a4e87ce8e01d01fa9cbe853e47687ce..ac2f63633e036c5b0009ec8b2f90ac439c618104 100644 (file)
@@ -1,11 +1,12 @@
-// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.h,v 1.27 2003/06/17 17:44:48 jpr Exp $
+// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.h,v 1.31 2003/07/01 15:14:36 frog Exp $
 
 #ifndef GDCMHEADER_H
 #define GDCMHEADER_H
 
 #include <map>
 #include "gdcmCommon.h"
-#include "gdcmUtil.h"
+#include "gdcmVR.h"
+#include "gdcmTS.h"
 #include "gdcmException.h"
 #include "gdcmDictSet.h"
 #include "gdcmElValue.h"
@@ -105,6 +106,7 @@ protected:
    FileType filetype;
    
    gdcmElValue * GetElValueByNumber(guint16 group, guint16 element);
+   int CheckIfExistByNumber(guint16 Group, guint16 Elem );
 
    guint16 SwapShort(guint16); // needed by gdcmFile
    guint32 SwapLong(guint32);  // for JPEG Files :-(
@@ -162,14 +164,15 @@ public:
 
    int SetPubElValByName  (std::string content, std::string TagName);
    int SetShaElValByName  (std::string content, std::string ShadowTagName);
+   
    int SetPubElValByNumber(std::string content, guint16 group, guint16 element);
-
    int SetShaElValByNumber(std::string content, guint16 group, guint16 element);
    
    int SetPubElValLengthByNumber(guint32 lgr, guint16 group, guint16 element);                                   
 
-   int ReplaceOrCreateByNumber(std::string Value, guint16 Group, guint16 Elem);                                
-
+   int ReplaceOrCreateByNumber(std::string Value, guint16 Group, guint16 Elem); 
+   int ReplaceOrCreateByNumber(     char * Value, guint16 Group, guint16 Elem);                                
+                               
    int GetXSize(void);  
    int GetYSize(void);
    int GetZSize(void);