----------------------------------------------------------------------------- Fill a vector with the item labels -----------------------------------------------------------------------------
| 367 | // Fill a vector with the item labels |
| 368 | //----------------------------------------------------------------------------- |
| 369 | bool ValueList::GetItemLabels |
| 370 | ( |
| 371 | vector<string>* o_items |
| 372 | ) |
| 373 | { |
| 374 | if( o_items ) |
| 375 | { |
| 376 | for( vector<Item>::iterator it = m_items.begin(); it != m_items.end(); ++it ) |
| 377 | { |
| 378 | o_items->push_back( (*it).m_label ); |
| 379 | } |
| 380 | |
| 381 | return true; |
| 382 | } |
| 383 | |
| 384 | return false; |
| 385 | } |
| 386 | |
| 387 | //----------------------------------------------------------------------------- |
| 388 | // <ValueList::GetItemValues> |
no test coverage detected