Jpp  17.1.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
gui::last_view_comparator Class Reference

Public Member Functions

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

Private Attributes

bool m_reverse
 

Detailed Description

Definition at line 815 of file gui.cpp.

Constructor & Destructor Documentation

gui::last_view_comparator::last_view_comparator ( bool  reverse)
inlineexplicit

Definition at line 822 of file gui.cpp.

823  :
824  m_reverse(reverse)
825  {}

Member Function Documentation

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

Definition at line 827 of file gui.cpp.

828  {
829  using namespace boost::chrono;
830  return m_reverse
831  ? duration_cast<seconds>(first.last_view()) < duration_cast<seconds>(second.last_view())
832  : duration_cast<seconds>(first.last_view()) > duration_cast<seconds>(second.last_view());
833  }
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first

Member Data Documentation

bool gui::last_view_comparator::m_reverse
private

Definition at line 817 of file gui.cpp.


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