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

#include <DSDBManager.hh>

Collaboration diagram for DSDBManager::idComparator:
Collaboration graph

Public Member Functions

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

Detailed Description

Definition at line 109 of file DSDBManager.hh.

Member Function Documentation

◆ operator()()

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

Definition at line 110 of file DSDBManager.hh.

110  {
111  if (c1.configurationID != c2.configurationID)
112  return (c1.configurationID < c2.configurationID);
113  // if the id's match then applications must differ
114  return (c1.application < c2.application);
115  }

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


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