1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0003513: There is no check for boundary of array in method Set for array attributes

- Added check of array's boundary in Set(i, val) methods.
- Added comments to cdl files.
- removed accidental modification in TDataStd_ExtStringArray::Value(i).
- recovering accidentally lost modifications.
This commit is contained in:
szy
2013-08-07 19:27:29 +04:00
committed by bugmaster
parent 8263fcd384
commit fa13a85d92
11 changed files with 14 additions and 11 deletions

View File

@@ -60,6 +60,7 @@ is
SetValue (me : mutable; Index : Integer from Standard; Value : ExtendedString from TCollection);
---Purpose: Sets the <Index>th element of the array to <Value>
-- OutOfRange exception is raised if <Index> doesn't respect Lower and Upper bounds of the internal array.
Value (me; Index : Integer from Standard)
---Purpose: Returns the value of the <Index>th element of the array