]> Creatis software - gdcm.git/blobdiff - src/gdcmElValSet.h
* src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
[gdcm.git] / src / gdcmElValSet.h
index 5def2edc274fe29f42706071eb02466c6e492366..08490cfd7ae8954b5de44d6ee3c77d0c88e43ac2 100644 (file)
@@ -1,4 +1,4 @@
-// $Header: /cvs/public/gdcm/src/Attic/gdcmElValSet.h,v 1.12 2003/05/21 14:42:46 frog Exp $
+// $Header: /cvs/public/gdcm/src/Attic/gdcmElValSet.h,v 1.16 2003/07/23 08:43:03 jpr Exp $
 
 #ifndef GDCMELVALSET_H
 #define GDCMELVALSET_H
@@ -10,6 +10,7 @@
 
 ////////////////////////////////////////////////////////////////////////////
 // Container for a set of successfully parsed ElValues.
+
 typedef std::map<TagKey, gdcmElValue*> TagElValueHT;
 typedef std::map<std::string, gdcmElValue*> TagElValueNameHT;
 
@@ -19,13 +20,12 @@ class GDCM_EXPORT gdcmElValSet {
    
    typedef std::string GroupKey;
    typedef std::map<GroupKey, int> GroupHT; 
-   
 public:        
    ~gdcmElValSet();
    void Add(gdcmElValue*);
                        
-   void Print(ostream &);
-   void PrintByName(ostream &);
+   void Print(std::ostream &);
+   void PrintByName(std::ostream &);
    int  Write(FILE *fp, FileType type);
 
    gdcmElValue* GetElementByNumber(guint16 group, guint16 element);
@@ -40,8 +40,11 @@ public:
        
    int SetElValueLengthByNumber(guint32 l, guint16 group, guint16 element);
    int SetElValueLengthByName  (guint32 l, std::string TagName);
+   
+   int SetVoidAreaByNumber(void *a, guint16 Group, guint16 Elem );
 
    guint32 GenerateFreeTagKeyInGroup(guint16 group);
+   int CheckIfExistByNumber(guint16 Group, guint16 Elem );
        
 private:
    void UpdateGroupLength(bool SkipSequence = false, FileType type = ImplicitVR);