Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
gui::domid_comparator Class Reference

Public Member Functions

 domid_comparator (bool reverse)
 
bool operator() (mon_channel const &first, mon_channel const &second)
 

Private Attributes

bool m_reverse
 

Detailed Description

Definition at line 795 of file gui.cpp.

Constructor & Destructor Documentation

◆ domid_comparator()

gui::domid_comparator::domid_comparator ( bool reverse)
inlineexplicit

Definition at line 802 of file gui.cpp.

803 :
804 m_reverse(reverse)
805 {}

Member Function Documentation

◆ operator()()

bool gui::domid_comparator::operator() ( mon_channel const & first,
mon_channel const & second )
inline

Definition at line 807 of file gui.cpp.

808 {
809 return m_reverse
810 ? first.domid() < second.domid()
811 : first.domid() > second.domid();
812 }

Member Data Documentation

◆ m_reverse

bool gui::domid_comparator::m_reverse
private

Definition at line 797 of file gui.cpp.


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