----------------------------------------------------------------------------- Fill a vector with the item values -----------------------------------------------------------------------------
| 389 | // Fill a vector with the item values |
| 390 | //----------------------------------------------------------------------------- |
| 391 | bool ValueList::GetItemValues |
| 392 | ( |
| 393 | vector<int32>* o_values |
| 394 | ) |
| 395 | { |
| 396 | if( o_values ) |
| 397 | { |
| 398 | for( vector<Item>::iterator it = m_items.begin(); it != m_items.end(); ++it ) |
| 399 | { |
| 400 | o_values->push_back( (*it).m_value ); |
| 401 | } |
| 402 | |
| 403 | return true; |
| 404 | } |
| 405 | |
| 406 | return false; |
| 407 | } |
| 408 | |
| 409 | //----------------------------------------------------------------------------- |
| 410 | // <ValueList::GetItem> |
no test coverage detected