Version: 9.15.0
SUIT_ActionSearcher::AssetsAndSearchData Class Reference

#include <SUIT_ShortcutMgr.h>

Public Member Functions

 AssetsAndSearchData (std::shared_ptr< const SUIT_ShortcutItemAssets > theAssets=nullptr, double theMatchMetrics=std::numeric_limits< double >::infinity())
 
void setMatchMetrics (double theMatchMetrics)
 
double matchMetrics () const
 
void toJSON (QJsonObject &oJsonObject) const
 
QString toString () const
 

Public Attributes

std::shared_ptr< const SUIT_ShortcutItemAssetsmyAssets
 

Private Attributes

double myMatchMetrics
 Ideally it should be number of weighted character permutations. Now it is just a number of characters in unmatched words. More...
 

Constructor & Destructor Documentation

◆ AssetsAndSearchData()

SUIT_ActionSearcher::AssetsAndSearchData::AssetsAndSearchData ( std::shared_ptr< const SUIT_ShortcutItemAssets theAssets = nullptr,
double  theMatchMetrics = std::numeric_limits<double>::infinity() 
)

References myMatchMetrics, and ShCutDbg().

Member Function Documentation

◆ matchMetrics()

double SUIT_ActionSearcher::AssetsAndSearchData::matchMetrics ( ) const
inline

◆ setMatchMetrics()

void SUIT_ActionSearcher::AssetsAndSearchData::setMatchMetrics ( double  theMatchMetrics)

References ShCutDbg().

◆ toJSON()

void SUIT_ActionSearcher::AssetsAndSearchData::toJSON ( QJsonObject &  oJsonObject) const

◆ toString()

QString SUIT_ActionSearcher::AssetsAndSearchData::toString ( ) const

Member Data Documentation

◆ myAssets

std::shared_ptr<const SUIT_ShortcutItemAssets> SUIT_ActionSearcher::AssetsAndSearchData::myAssets

◆ myMatchMetrics

double SUIT_ActionSearcher::AssetsAndSearchData::myMatchMetrics
private

Ideally it should be number of weighted character permutations. Now it is just a number of characters in unmatched words.


The documentation for this class was generated from the following files: