mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-11 00:37:04 +08: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, Value : Integer from Standard);
|
||||
---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: Return the value of the <Index>th element of the array
|
||||
|
||||
Reference in New Issue
Block a user