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.
15 lines
576 B
15 lines
576 B
#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;
|
|
}
|
|
|