X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmElValSet.h;h=fe97e3c8e12fd394de43db1686bc5fb46742abac;hb=3a7de562dd07854a96a0a148e1c95652baefe2c8;hp=a64b105ae1484c8c33a91d831d0178757139bc88;hpb=3e78befc911eac2ecc70747854911d1f803797b5;p=gdcm.git diff --git a/src/gdcmElValSet.h b/src/gdcmElValSet.h index a64b105a..fe97e3c8 100644 --- a/src/gdcmElValSet.h +++ b/src/gdcmElValSet.h @@ -1,15 +1,17 @@ -// $Header: /cvs/public/gdcm/src/Attic/gdcmElValSet.h,v 1.13 2003/05/21 16:26:28 regrain Exp $ +// $Header: /cvs/public/gdcm/src/Attic/gdcmElValSet.h,v 1.17 2003/10/02 11:26:15 malaterre Exp $ #ifndef GDCMELVALSET_H #define GDCMELVALSET_H -#include // FIXME For FILE on GCC only -#include #include "gdcmCommon.h" #include "gdcmElValue.h" +#include // FIXME For FILE on GCC only +#include + //////////////////////////////////////////////////////////////////////////// // Container for a set of successfully parsed ElValues. + typedef std::map TagElValueHT; typedef std::map TagElValueNameHT; @@ -19,7 +21,6 @@ class GDCM_EXPORT gdcmElValSet { typedef std::string GroupKey; typedef std::map GroupHT; - public: ~gdcmElValSet(); void Add(gdcmElValue*); @@ -40,8 +41,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);