]> Creatis software - gdcm.git/commitdiff
declaration de dcm2acr
authorjpr <jpr>
Mon, 10 Mar 2003 13:26:05 +0000 (13:26 +0000)
committerjpr <jpr>
Mon, 10 Mar 2003 13:26:05 +0000 (13:26 +0000)
TODO
src/gdcmHeader.cxx
src/gdcmHeader.h

diff --git a/TODO b/TODO
index 420485aefda6dc4d0e1a3ee16aef7cfcd292e6a0..1ba8deee56dabe95719501d506dcfbcf512110c7 100644 (file)
--- a/TODO
+++ b/TODO
@@ -23,7 +23,7 @@
 * GetPubElValByNumber doit faire la difference entre chaine vide 
   et chaine pas touve''. Eventuellement raiser une exception ?
 * gdcmHeader::LoadElements only loads the element whose length is
-  below the specified size. When accessing the value of such a element
+  below the specified size. When accessing the value of such an element
   the content is unfound ! Find a decent way of loading the value on
   explicit demand.
 * fournir une method qui ne fait que lire les elements passes en arguments
index cfa470a3cc374fb748e1632dddc93b345c9947a4..38763a3af7dac7d28fc142e18dc93dc45f674a74 100644 (file)
@@ -1277,6 +1277,22 @@ int gdcmHeader::SetPubElValByName(string content, string TagName) {
    return (  PubElVals.SetElValueByName (content, TagName) );
 }
 
+/**
+ * \ingroup gdcmHeader
+ * \brief   Accesses an existing ElValue in the PubElVals of this instance
+ *          through it's (group, element) and modifies it's length with
+ *          the given value.
+ *             NOT FOR BOZOs !
+ * @param   contents new length to substitute with
+ * @param   group   group of the ElVal to modify
+ * @param   element element of the ElVal to modify
+ */
+int gdcmHeader::SetPubElValLengthByNumber(guint32 lgr, guint16 group,
+                                    guint16 element)
+{
+       return (  PubElVals.SetElValueLengthByNumber (lgr, group, element) );
+}
+
 /**
  * \ingroup gdcmHeader
  * \brief   Accesses an existing ElValue in the ShaElVals of this instance
@@ -1292,6 +1308,9 @@ int gdcmHeader::SetShaElValByNumber(string content,
    return (  ShaElVals.SetElValueByNumber (content, group, element) );
 }
 
+
+
+
 /**
  * \ingroup gdcmHeader
  * \brief   Accesses an existing ElValue in the ShaElVals of this instance
index 6b665031b543194347bd62945e8c25d05895f001..02c58ef6a9a3fafcb3b42cef66a7020a712eb909 100644 (file)
@@ -159,6 +159,9 @@ public:
    int SetPubElValByNumber(string content, guint16 group, guint16 element);
    int SetShaElValByName(string content, string ShadowTagName);
    int SetShaElValByNumber(string content, guint16 group, guint16 element);
+   
+   int gdcmHeader::SetPubElValLengthByNumber(guint32 lgr, guint16 group,
+                                    guint16 element);
 
    ElValSet GetPubElVals() { return(PubElVals); }
 };