0023912: TDataStd_ExtStringArray::Value() returns a copy of TCollection_ExtendedStrin...
authorvro <vro@opencascade.com>
Thu, 16 May 2013 07:07:43 +0000 (11:07 +0400)
committervro <vro@opencascade.com>
Thu, 16 May 2013 07:07:43 +0000 (11:07 +0400)
commitbbd048069dd74f558620485bb7e232a7b767b864
tree9e42f7d0266175dfd278c94ce43142c1afa529c9
parentee1e83b94b05b453a7bdf1215c5a7ba80324c804
0023912: TDataStd_ExtStringArray::Value() returns a copy of TCollection_ExtendedString, but it might return a reference.

Since now TDataStd_ExtStringArray::Value() returns a constant reference to the string value.
Also, a draw-command GetExtStringArray is modified to manipulate with the string by a constant reference.
Added test case bugs/caf/bug23912
src/DDataStd/DDataStd_BasicCommands.cxx
src/TDataStd/TDataStd_ExtStringArray.cdl
src/TDataStd/TDataStd_ExtStringArray.cxx
tests/bugs/caf/bug23912 [new file with mode: 0644]