OpenASIP  2.0
Public Member Functions | List of all members
DSDBManager::appComparator Struct Reference

#include <DSDBManager.hh>

Collaboration diagram for DSDBManager::appComparator:
Collaboration graph

Public Member Functions

bool operator() (ConfigurationCosts c1, ConfigurationCosts c2) const
 

Detailed Description

Definition at line 144 of file DSDBManager.hh.

Member Function Documentation

◆ operator()()

bool DSDBManager::appComparator::operator() ( ConfigurationCosts  c1,
ConfigurationCosts  c2 
) const
inline

Definition at line 145 of file DSDBManager.hh.

145  {
146  if (c1.application == c2.application)
147  return (c1.configurationID < c2.configurationID);
148  return (c1.application < c2.application);
149  }

References DSDBManager::ConfigurationCosts::application, and DSDBManager::ConfigurationCosts::configurationID.


The documentation for this struct was generated from the following file: