Salome HOME
CCAR: add automatic management of GenericObj in study.
authorcaremoli <caremoli>
Fri, 22 May 2009 08:53:41 +0000 (08:53 +0000)
committercaremoli <caremoli>
Fri, 22 May 2009 08:53:41 +0000 (08:53 +0000)
commit46fc79e7d0eaf01688ab5f2c445f05731280b86c
treece6ca7c948de4f0c233b15c384643014ed428002
parent7c153ca98701cd7ea03b9a3ce2e837108aa1be08
CCAR: add automatic management of GenericObj in study.
If a GenericObj id publish in study, its reference count must be incremented (call to Register()).
When it is unpublished, its reference count must be decremented (call to Destroy()).
This was not done when calling SetValue on a AttributeIOR so if someone manages
GenericObj in the right way, the references in study could be lost.
src/SALOMEDS/SALOMEDS_AttributeIOR_i.cxx