DiscussionsIssue archiveOCCT:Application Framework

Archived issue #0018570

A regression in TDataStd_RealArray::Set()

Open CASCADEOCCT:Application Frameworkclosed0 public notes

Search issues

Description

In case of an attribute TDataStd_RealArray already attached to a label, and the
user calls a method TDataStd_RealArray::Set() with another range for the array,
the method returns existing array (already attached to the label) without a
change of its range.
The same concerns TDataStd_IntegerArray and TDataStd_ExtStringArray.
New attributes like TDataStd_BooleanArray, etc. work nice!

Additional information

Documentation remark, added by Author 2008-02-04 07:03:27:

Improvements:
It was a regression!
It was not possible to change the range of the arrays already attached to a label.
Now it is possible again.
Modified entities:
TDataStd/TDataStd_RealArray.cxx
TDataStd/TDataStd_IntegerArray.cxx
TDataStd/TDataStd_ExtStringArray.cxx

Public activity

No public notes

Participants are labeled by their role within this record.