]> Creatis software - gdcm.git/blobdiff - Doc/Website/News.html
Avoid memory leaks
[gdcm.git] / Doc / Website / News.html
index af938451e587b100075bd694bd463be0eff05e43..97ce724411f263eb76548d6151b5387d5c9155a2 100644 (file)
@@ -126,7 +126,7 @@ Any contribution is welcome.
    <LI>State of the art
    <UL>    
       <LI>
-         <a href="uml-gdcm.pdf">gdcm UML Class Diagram</a> current version.
+         <a href="uml-gdcmV1.2.pdf">gdcm UML Class Diagram</a> current version.
       <LI> <a href= "DocCVS/html.user/index.html">User Documentation</a>
       <LI> <a href= "DocCVS/html.developper/index.html">Developper
          Documentation</a> 
@@ -146,7 +146,7 @@ Any contribution is welcome.
          <LI>
       3) user created a new image, using existing images (eg MIP, MPR, cartography image)<br>
           c : <TT>CREATED_IMAGE</TT>
-         wq<LI>
+         <LI>
        4) user modified/added some tags *without processing* the pixels (anonymization, etc)<br>
          c : <TT>UNMODIFIED_PIXELS_IMAGE</TT> 
       </UL>
@@ -205,6 +205,10 @@ Any contribution is welcome.
               <TT>New()</TT> and <TT>Delete()</TT>
          <LI> <TT>Register()</TT> and <TT>Unregister()</TT> methods are 
          available.
+         <LI> --> Well ... People from ITK don't seem to agree too much with 
+             that feature.<br>
+          They demand to be allowed to allocate gdcm objects in the stack as
+          well, not only in the heap.
       </UL>
       <LI>
    </UL>
@@ -214,7 +218,57 @@ Any contribution is welcome.
       <LI> Stupid difference between <TT>gdcm::ValEntry</TT> 
            and <TT>gdcm::BinEntry</TT> removed. <br>
            Only <TT>gdcm::DataEntry</TT> exist, now. <br>  
-      <LI>
+   <pre>
+   ValEntry(DictEntry *e);
+   BinEntry(DictEntry *e);
+-->DataEntry *New(uint16_t group,uint16_t elem, VRKey const &vr);
+
+   std::string const &ValEntry::GetValue() const;
+   std::string const &BinEntry::GetValue() const;
+-->std::string const &DataEntry::GetString() const;
+
+   uint8_t *BinEntry::GetBinArea();
+-->uint8_t *DataEntry::GetBinArea();
+
+   void ValEntry::SetValue(std::string const &value);
+   void BinEntry::SetValue(std::string const &value);   
+-->void DataEntry::SetString(std::string const &value);
+
+   void BinEntry::SetBinArea( uint8_t *area, bool self = true );
+-->void DataEntry::SetBinArea( uint8_t *area, bool self = true );
+
+   void ValEntry::CopyValEntry(uint16_t gr, uint16_t el);
+-->void DataEntry::CopyDataEntry(uint16_t gr, uint16_t el, VRKey const &vr);
+</pre>
+<LI> Avoid tons of CPU time consuming accesses to DICOM Dictionnary
+<pre>
+   DataEntry *FileHelper::CopyDataEntry(uint16_t group, uint16_t elem);
+-->DataEntry *FileHelper::CopyDataEntry(uint16_t group, uint16_t elem, 
+                                        const VRKey &vr = GDCM_VRUNKNOWN);
+
+   void FileHelper::CheckMandatoryEntry(uint16_t group, uint16_t elem, std::string value);
+-->void FileHelper::CheckMandatoryEntry(uint16_t group, uint16_t elem, std::string value,
+                                        const VRKey &vr = GDCM_VRUNKNOWN);
+      
+   void FileHelper::SetMandatoryEntry(uint16_t group, uint16_t elem, std::string value);       
+-->void FileHelper::SetMandatoryEntry(uint16_t group, uint16_t elem, std::string value,
+                                      const VRKey &vr = GDCM_VRUNKNOWN);
+
+   void FileHelper::CopyMandatoryEntry(uint16_t group, uint16_t elem, std::string value);      
+-->void FileHelper::CopyMandatoryEntry(uint16_t group, uint16_t elem, std::string value,
+                                       const VRKey &vr = GDCM_VRUNKNOWN);
+</pre>
+CopyMandatoryEntry(0x0002,0x0003,sop)
+<LI> New features :
+<pre>
+For multivaluated numeric DataEntries
+-->void DataEntry::SetValue(const uint32_t &id,const double &val);
+-->double DataEntry::GetValue(const uint32_t &id) const;
+-->uint32_t DataEntry::GetValueCount() const;
+
+For converting 'Decimal String'
+-->bool GetDSValue(std::vector &lt;double&gt; &valueVector);  
+      </pre>
       <LI>
    </UL>