* 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
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
return ( ShaElVals.SetElValueByNumber (content, group, element) );
}
+
+
+
/**
* \ingroup gdcmHeader
* \brief Accesses an existing ElValue in the ShaElVals of this instance
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); }
};