| 399 | //----------------------------------------------------------------------------- |
| 400 | |
| 401 | void ArrayObject::duplicate(ArrayObject* obj) |
| 402 | { |
| 403 | empty(); |
| 404 | for(S32 i=0; i<obj->count(); i++) |
| 405 | { |
| 406 | const String& tempval = obj->getValueFromIndex(i); |
| 407 | const String& tempkey = obj->getKeyFromIndex(i); |
| 408 | push_back(tempkey, tempval); |
| 409 | } |
| 410 | mCurrentIndex = obj->getCurrent(); |
| 411 | } |
| 412 | |
| 413 | //----------------------------------------------------------------------------- |
| 414 |
no test coverage detected