OpenASIP 2.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TTAMachine::Port::PairComparator Struct Reference

#include <Port.hh>

Collaboration diagram for TTAMachine::Port::PairComparator:
Collaboration graph

Public Member Functions

bool operator() (const std::pair< const Port *, const Port * > &pp1, const std::pair< const Port *, const Port * > &pp2) const
 

Detailed Description

Definition at line 88 of file Port.hh.

Member Function Documentation

◆ operator()()

bool TTAMachine::Port::PairComparator::operator() ( const std::pair< const Port *, const Port * > &  pp1,
const std::pair< const Port *, const Port * > &  pp2 
) const

Definition at line 549 of file Port.cc.

552 {
553 if (Comparator()(pp1.first, pp2.first)) {
554 return false;
555 }
556 if (Comparator()(pp2.first, pp1.first)) {
557 return true;
558 }
559 if (Comparator()(pp1.second, pp2.second)) {
560 return true;
561 }
562 return false;
563}

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