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:
@@ -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
|
||||
|
Reference in New Issue
Block a user