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

Public Member Functions

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

Private Attributes

bool m_reverse
 

Detailed Description

Definition at line 856 of file gui.cpp.

Constructor & Destructor Documentation

◆ run_number_comparator()

gui::run_number_comparator::run_number_comparator ( bool reverse)
inlineexplicit

Definition at line 863 of file gui.cpp.

864 :
865 m_reverse(reverse)
866 {}

Member Function Documentation

◆ operator()()

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

Definition at line 868 of file gui.cpp.

869 {
870 return m_reverse
871 ? first.run_number() < second.run_number()
872 : first.run_number() > second.run_number();
873 }

Member Data Documentation

◆ m_reverse

bool gui::run_number_comparator::m_reverse
private

Definition at line 858 of file gui.cpp.


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