* Sets a value in the array. * * @param index The index. * @param value The value. */
| 48 | * @param value The value. |
| 49 | */ |
| 50 | void Array::Set(SizeType index, const Value& value) |
| 51 | { |
| 52 | ObjectLock olock(this); |
| 53 | |
| 54 | if (m_Frozen) |
| 55 | BOOST_THROW_EXCEPTION(std::invalid_argument("Value in array must not be modified.")); |
| 56 | |
| 57 | m_Data.at(index) = value; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Sets a value in the array. |
no test coverage detected