You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
576 B
16 lines
576 B
6 months ago
|
#include "viewmodel/displayString/util/DisplayStringProviderMapGenerator.h"
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
QMap<ELogColumn, DisplayStringProvider_ptr> DisplayStringProviderMapGenerator::generate(
|
||
|
DisplayProviderCreator_ptr creator)
|
||
|
{
|
||
|
QMap<ELogColumn, DisplayStringProvider_ptr> map;
|
||
|
for(int column = id; column <= threadId; ++column)
|
||
|
{
|
||
|
auto columnEnum = static_cast<ELogColumn>(column);
|
||
|
map[columnEnum] = creator->createDisplayProvider(columnEnum);
|
||
|
}
|
||
|
|
||
|
return map;
|
||
|
}
|