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