Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
gui::name_comparator Class Reference

Public Member Functions

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

Private Attributes

bool m_reverse
 

Detailed Description

Definition at line 876 of file gui.cpp.

Constructor & Destructor Documentation

◆ name_comparator()

gui::name_comparator::name_comparator ( bool reverse)
inlineexplicit

Definition at line 883 of file gui.cpp.

884 :
885 m_reverse(reverse)
886 {}

Member Function Documentation

◆ operator()()

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

Definition at line 888 of file gui.cpp.

889 {
890 return m_reverse
891 ? first.name() < second.name()
892 : first.name() > second.name();
893 }

Member Data Documentation

◆ m_reverse

bool gui::name_comparator::m_reverse
private

Definition at line 878 of file gui.cpp.


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